Struct azure_devops_rust_api::hooks::models::PublisherEvent
source · pub struct PublisherEvent {
pub diagnostics: Option<Value>,
pub event: Option<Event>,
pub is_filtered_event: Option<bool>,
pub notification_data: Option<Value>,
pub other_resource_versions: Vec<VersionedResource>,
pub publisher_input_filters: Vec<InputFilter>,
pub subscription: Option<Subscription>,
}Expand description
Wrapper around an event which is being published
Fields§
§diagnostics: Option<Value>Add key/value pairs which will be stored with a published notification in the SH service DB. This key/value pairs are for diagnostic purposes only and will have not effect on the delivery of a notification.
event: Option<Event>Encapsulates the properties of an event.
is_filtered_event: Option<bool>Gets or sets flag for filtered events
notification_data: Option<Value>Additional data that needs to be sent as part of notification to complement the Resource data in the Event
other_resource_versions: Vec<VersionedResource>Gets or sets the array of older supported resource versions.
publisher_input_filters: Vec<InputFilter>Optional publisher-input filters which restricts the set of subscriptions which are triggered by the event
subscription: Option<Subscription>Encapsulates an event subscription.
Implementations§
Trait Implementations§
source§impl Clone for PublisherEvent
impl Clone for PublisherEvent
source§fn clone(&self) -> PublisherEvent
fn clone(&self) -> PublisherEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PublisherEvent
impl Debug for PublisherEvent
source§impl Default for PublisherEvent
impl Default for PublisherEvent
source§fn default() -> PublisherEvent
fn default() -> PublisherEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PublisherEvent
impl<'de> Deserialize<'de> for PublisherEvent
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 PartialEq<PublisherEvent> for PublisherEvent
impl PartialEq<PublisherEvent> for PublisherEvent
source§fn eq(&self, other: &PublisherEvent) -> bool
fn eq(&self, other: &PublisherEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.