pub struct CreatedAutomationResponse {
pub automation: Automation,
pub webhook_secret: Option<String>,
}Expand description
Response to POST /api/automations.
Fields§
§automation: AutomationThe stored automation.
webhook_secret: Option<String>For a webhook trigger, the generated signing key — returned here and
never again, like an API token. Senders sign their request body with
it and send X-Prospero-Signature: sha256=<hex>.
Trait Implementations§
Source§impl Clone for CreatedAutomationResponse
impl Clone for CreatedAutomationResponse
Source§fn clone(&self) -> CreatedAutomationResponse
fn clone(&self) -> CreatedAutomationResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreatedAutomationResponse
impl Debug for CreatedAutomationResponse
Source§impl<'de> Deserialize<'de> for CreatedAutomationResponse
impl<'de> Deserialize<'de> for CreatedAutomationResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CreatedAutomationResponse
Source§impl JsonSchema for CreatedAutomationResponse
impl JsonSchema for CreatedAutomationResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for CreatedAutomationResponse
Auto Trait Implementations§
impl Freeze for CreatedAutomationResponse
impl RefUnwindSafe for CreatedAutomationResponse
impl Send for CreatedAutomationResponse
impl Sync for CreatedAutomationResponse
impl Unpin for CreatedAutomationResponse
impl UnsafeUnpin for CreatedAutomationResponse
impl UnwindSafe for CreatedAutomationResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more