pub struct CreateNotificationConfigV2Response {
pub data: CreateNotificationConfigV2ResponseData,
}Expand description
CreateNotificationConfigV2Response
JSON schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"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§
§data: CreateNotificationConfigV2ResponseDataTrait Implementations§
Source§impl Clone for CreateNotificationConfigV2Response
impl Clone for CreateNotificationConfigV2Response
Source§fn clone(&self) -> CreateNotificationConfigV2Response
fn clone(&self) -> CreateNotificationConfigV2Response
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 CreateNotificationConfigV2Response
impl<'de> Deserialize<'de> for CreateNotificationConfigV2Response
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 CreateNotificationConfigV2Response
impl RefUnwindSafe for CreateNotificationConfigV2Response
impl Send for CreateNotificationConfigV2Response
impl Sync for CreateNotificationConfigV2Response
impl Unpin for CreateNotificationConfigV2Response
impl UnsafeUnpin for CreateNotificationConfigV2Response
impl UnwindSafe for CreateNotificationConfigV2Response
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