pub struct CreateNotificationConfigV2ResponseDataPolicy {
pub offset: String,
pub type_: String,
}Expand description
CreateNotificationConfigV2ResponseDataPolicy
JSON schema
{
"type": "object",
"required": [
"offset",
"type"
],
"properties": {
"offset": {
"description": "ISO-8601 duration string indicating how much time
before or after the base event this notification should be sent.
Positive values indicate notifications after the event, negative values
indicate notifications before the event. Examples: \"P1D\" (1 day
after), \"-PT2H\" (2 hours before)\n",
"examples": [
"P1D"
],
"type": "string"
},
"type": {
"description": "The type of lifecycle event that this offset is
based on.\n",
"type": "string"
}
}
}Fields§
§offset: StringISO-8601 duration string indicating how much time before or after the base event this notification should be sent. Positive values indicate notifications after the event, negative values indicate notifications before the event. Examples: “P1D” (1 day after), “-PT2H” (2 hours before)
type_: StringThe type of lifecycle event that this offset is based on.
Trait Implementations§
Source§impl Clone for CreateNotificationConfigV2ResponseDataPolicy
impl Clone for CreateNotificationConfigV2ResponseDataPolicy
Source§fn clone(&self) -> CreateNotificationConfigV2ResponseDataPolicy
fn clone(&self) -> CreateNotificationConfigV2ResponseDataPolicy
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 CreateNotificationConfigV2ResponseDataPolicy
impl<'de> Deserialize<'de> for CreateNotificationConfigV2ResponseDataPolicy
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
Auto Trait Implementations§
impl Freeze for CreateNotificationConfigV2ResponseDataPolicy
impl RefUnwindSafe for CreateNotificationConfigV2ResponseDataPolicy
impl Send for CreateNotificationConfigV2ResponseDataPolicy
impl Sync for CreateNotificationConfigV2ResponseDataPolicy
impl Unpin for CreateNotificationConfigV2ResponseDataPolicy
impl UnsafeUnpin for CreateNotificationConfigV2ResponseDataPolicy
impl UnwindSafe for CreateNotificationConfigV2ResponseDataPolicy
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