Struct azure_devops_rust_api::hooks::models::ConsumerAction
source · pub struct ConsumerAction {
pub links: Option<Value>,
pub allow_resource_version_override: Option<bool>,
pub consumer_id: Option<String>,
pub description: Option<String>,
pub id: Option<String>,
pub input_descriptors: Vec<InputDescriptor>,
pub name: Option<String>,
pub supported_event_types: Vec<String>,
pub supported_resource_versions: Option<Value>,
pub url: Option<String>,
}
Expand description
Defines the data contract of a consumer action.
Fields§
§links: Option<Value>
Links
allow_resource_version_override: Option<bool>
Gets or sets the flag indicating if resource version can be overridden when creating or editing a subscription.
consumer_id: Option<String>
Gets or sets the identifier of the consumer to which this action belongs.
description: Option<String>
Gets or sets this action’s localized description.
id: Option<String>
Gets or sets this action’s identifier.
input_descriptors: Vec<InputDescriptor>
Gets or sets this action’s input descriptors.
name: Option<String>
Gets or sets this action’s localized name.
supported_event_types: Vec<String>
Gets or sets this action’s supported event identifiers.
supported_resource_versions: Option<Value>
Gets or sets this action’s supported resource versions.
url: Option<String>
The url for this resource
Implementations§
Trait Implementations§
source§impl Clone for ConsumerAction
impl Clone for ConsumerAction
source§fn clone(&self) -> ConsumerAction
fn clone(&self) -> ConsumerAction
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 ConsumerAction
impl Debug for ConsumerAction
source§impl Default for ConsumerAction
impl Default for ConsumerAction
source§fn default() -> ConsumerAction
fn default() -> ConsumerAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConsumerAction
impl<'de> Deserialize<'de> for ConsumerAction
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 for ConsumerAction
impl PartialEq for ConsumerAction
source§fn eq(&self, other: &ConsumerAction) -> bool
fn eq(&self, other: &ConsumerAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConsumerAction
impl Serialize for ConsumerAction
impl StructuralPartialEq for ConsumerAction
Auto Trait Implementations§
impl RefUnwindSafe for ConsumerAction
impl Send for ConsumerAction
impl Sync for ConsumerAction
impl Unpin for ConsumerAction
impl UnwindSafe for ConsumerAction
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