pub struct FunctionsUpdateTriggerBodyScheduledDetails {
pub body: Option<FunctionsUpdateTriggerBodyScheduledDetailsBody>,
pub cron: String,
}Expand description
Trigger details for SCHEDULED type, where body is optional.
JSON schema
{
"description": "Trigger details for SCHEDULED type, where body is optional.\n",
"type": "object",
"required": [
"cron"
],
"properties": {
"body": {
"description": "Optional data to be sent to function while triggering the function.",
"type": [
"object",
"null"
],
"properties": {
"name": {
"examples": [
"Welcome to DO!"
],
"type": "string"
}
}
},
"cron": {
"description": "valid cron expression string which is required for SCHEDULED type triggers.",
"examples": [
"* * * * *"
],
"type": "string"
}
}
}Fields§
§body: Option<FunctionsUpdateTriggerBodyScheduledDetailsBody>Optional data to be sent to function while triggering the function.
cron: Stringvalid cron expression string which is required for SCHEDULED type triggers.
Trait Implementations§
Source§impl Clone for FunctionsUpdateTriggerBodyScheduledDetails
impl Clone for FunctionsUpdateTriggerBodyScheduledDetails
Source§fn clone(&self) -> FunctionsUpdateTriggerBodyScheduledDetails
fn clone(&self) -> FunctionsUpdateTriggerBodyScheduledDetails
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<'de> Deserialize<'de> for FunctionsUpdateTriggerBodyScheduledDetails
impl<'de> Deserialize<'de> for FunctionsUpdateTriggerBodyScheduledDetails
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
Source§impl From<&FunctionsUpdateTriggerBodyScheduledDetails> for FunctionsUpdateTriggerBodyScheduledDetails
impl From<&FunctionsUpdateTriggerBodyScheduledDetails> for FunctionsUpdateTriggerBodyScheduledDetails
Source§fn from(value: &FunctionsUpdateTriggerBodyScheduledDetails) -> Self
fn from(value: &FunctionsUpdateTriggerBodyScheduledDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionsUpdateTriggerBodyScheduledDetails
impl RefUnwindSafe for FunctionsUpdateTriggerBodyScheduledDetails
impl Send for FunctionsUpdateTriggerBodyScheduledDetails
impl Sync for FunctionsUpdateTriggerBodyScheduledDetails
impl Unpin for FunctionsUpdateTriggerBodyScheduledDetails
impl UnsafeUnpin for FunctionsUpdateTriggerBodyScheduledDetails
impl UnwindSafe for FunctionsUpdateTriggerBodyScheduledDetails
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