Struct azure_devops_rust_api::extension_management::models::ExtensionEventCallbackCollection   
source · pub struct ExtensionEventCallbackCollection {
    pub post_disable: Option<ExtensionEventCallback>,
    pub post_enable: Option<ExtensionEventCallback>,
    pub post_install: Option<ExtensionEventCallback>,
    pub post_uninstall: Option<ExtensionEventCallback>,
    pub post_update: Option<ExtensionEventCallback>,
    pub pre_install: Option<ExtensionEventCallback>,
    pub version_check: Option<ExtensionEventCallback>,
}Expand description
Collection of event callbacks - endpoints called when particular extension events occur.
Fields§
§post_disable: Option<ExtensionEventCallback>Base class for an event callback for an extension
post_enable: Option<ExtensionEventCallback>Base class for an event callback for an extension
post_install: Option<ExtensionEventCallback>Base class for an event callback for an extension
post_uninstall: Option<ExtensionEventCallback>Base class for an event callback for an extension
post_update: Option<ExtensionEventCallback>Base class for an event callback for an extension
pre_install: Option<ExtensionEventCallback>Base class for an event callback for an extension
version_check: Option<ExtensionEventCallback>Base class for an event callback for an extension
Implementations§
Trait Implementations§
source§impl Clone for ExtensionEventCallbackCollection
 
impl Clone for ExtensionEventCallbackCollection
source§fn clone(&self) -> ExtensionEventCallbackCollection
 
fn clone(&self) -> ExtensionEventCallbackCollection
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 Default for ExtensionEventCallbackCollection
 
impl Default for ExtensionEventCallbackCollection
source§fn default() -> ExtensionEventCallbackCollection
 
fn default() -> ExtensionEventCallbackCollection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExtensionEventCallbackCollection
 
impl<'de> Deserialize<'de> for ExtensionEventCallbackCollection
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 ExtensionEventCallbackCollection
 
impl PartialEq for ExtensionEventCallbackCollection
source§fn eq(&self, other: &ExtensionEventCallbackCollection) -> bool
 
fn eq(&self, other: &ExtensionEventCallbackCollection) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExtensionEventCallbackCollection
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionEventCallbackCollection
impl Send for ExtensionEventCallbackCollection
impl Sync for ExtensionEventCallbackCollection
impl Unpin for ExtensionEventCallbackCollection
impl UnwindSafe for ExtensionEventCallbackCollection
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