pub struct CreateNotificationConfigV2ResponseData {
pub archived_at: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
pub created_by: String,
pub environment_type: String,
pub id: Uuid,
pub name: String,
pub policy: CreateNotificationConfigV2ResponseDataPolicy,
pub type_: String,
}Expand description
CreateNotificationConfigV2ResponseData
JSON schema
{
"type": "object",
"required": [
"archived_at",
"created_at",
"created_by",
"environment_type",
"id",
"name",
"policy",
"type"
],
"properties": {
"archived_at": {
"description": "When this notification configuration was archived",
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"description": "RFC 3339 timestamp when this notification
configuration was created.\n",
"type": "string",
"format": "date-time"
},
"created_by": {
"description": "Who created this notification configuration",
"type": "string"
},
"environment_type": {
"description": "The environment type where this notification
configuration was created.\n",
"type": "string"
},
"id": {
"description": "ID for this offset notification configuration",
"type": "string",
"format": "uuid"
},
"name": {
"description": "The name for this offset notification
configuration.\n",
"type": "string"
},
"policy": {
"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"
}
}
},
"type": {
"description": "Indicates this is an offset lifecycle event
notification",
"type": "string"
}
}
}Fields§
§archived_at: Option<DateTime<Utc>>When this notification configuration was archived
created_at: DateTime<Utc>RFC 3339 timestamp when this notification configuration was created.
created_by: StringWho created this notification configuration
environment_type: StringThe environment type where this notification configuration was created.
id: UuidID for this offset notification configuration
name: StringThe name for this offset notification configuration.
policy: CreateNotificationConfigV2ResponseDataPolicy§type_: StringIndicates this is an offset lifecycle event notification
Trait Implementations§
Source§impl Clone for CreateNotificationConfigV2ResponseData
impl Clone for CreateNotificationConfigV2ResponseData
Source§fn clone(&self) -> CreateNotificationConfigV2ResponseData
fn clone(&self) -> CreateNotificationConfigV2ResponseData
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 CreateNotificationConfigV2ResponseData
impl<'de> Deserialize<'de> for CreateNotificationConfigV2ResponseData
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 CreateNotificationConfigV2ResponseData
impl RefUnwindSafe for CreateNotificationConfigV2ResponseData
impl Send for CreateNotificationConfigV2ResponseData
impl Sync for CreateNotificationConfigV2ResponseData
impl Unpin for CreateNotificationConfigV2ResponseData
impl UnsafeUnpin for CreateNotificationConfigV2ResponseData
impl UnwindSafe for CreateNotificationConfigV2ResponseData
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