Struct azure_devops_rust_api::hooks::models::NotificationDetails
source · pub struct NotificationDetails {Show 17 fields
pub completed_date: Option<OffsetDateTime>,
pub consumer_action_id: Option<String>,
pub consumer_id: Option<String>,
pub consumer_inputs: Option<Value>,
pub dequeued_date: Option<OffsetDateTime>,
pub error_detail: Option<String>,
pub error_message: Option<String>,
pub event: Option<Event>,
pub event_type: Option<String>,
pub processed_date: Option<OffsetDateTime>,
pub publisher_id: Option<String>,
pub publisher_inputs: Option<Value>,
pub queued_date: Option<OffsetDateTime>,
pub request: Option<String>,
pub request_attempts: Option<i32>,
pub request_duration: Option<f64>,
pub response: Option<String>,
}
Expand description
Defines the data contract of notification details.
Fields§
§completed_date: Option<OffsetDateTime>
Gets or sets the time that this notification was completed (response received from the consumer)
consumer_action_id: Option<String>
Gets or sets this notification detail’s consumer action identifier.
consumer_id: Option<String>
Gets or sets this notification detail’s consumer identifier.
consumer_inputs: Option<Value>
Gets or sets this notification detail’s consumer inputs.
dequeued_date: Option<OffsetDateTime>
Gets or sets the time that this notification was dequeued for processing
error_detail: Option<String>
Gets or sets this notification detail’s error detail.
error_message: Option<String>
Gets or sets this notification detail’s error message.
event: Option<Event>
Encapsulates the properties of an event.
event_type: Option<String>
Gets or sets this notification detail’s event type.
processed_date: Option<OffsetDateTime>
Gets or sets the time that this notification was finished processing (just before the request is sent to the consumer)
publisher_id: Option<String>
Gets or sets this notification detail’s publisher identifier.
publisher_inputs: Option<Value>
Gets or sets this notification detail’s publisher inputs.
queued_date: Option<OffsetDateTime>
Gets or sets the time that this notification was queued (created)
request: Option<String>
Gets or sets this notification detail’s request.
request_attempts: Option<i32>
Number of requests attempted to be sent to the consumer
request_duration: Option<f64>
Duration of the request to the consumer in seconds
response: Option<String>
Gets or sets this notification detail’s response.
Implementations§
Trait Implementations§
source§impl Clone for NotificationDetails
impl Clone for NotificationDetails
source§fn clone(&self) -> NotificationDetails
fn clone(&self) -> NotificationDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationDetails
impl Debug for NotificationDetails
source§impl Default for NotificationDetails
impl Default for NotificationDetails
source§fn default() -> NotificationDetails
fn default() -> NotificationDetails
source§impl<'de> Deserialize<'de> for NotificationDetails
impl<'de> Deserialize<'de> for NotificationDetails
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>,
source§impl PartialEq for NotificationDetails
impl PartialEq for NotificationDetails
source§fn eq(&self, other: &NotificationDetails) -> bool
fn eq(&self, other: &NotificationDetails) -> bool
self
and other
values to be equal, and is used
by ==
.