Struct azure_devops_rust_api::build::models::RepositoryWebhook
source · pub struct RepositoryWebhook {
pub name: Option<String>,
pub types: Vec<Value>,
pub url: Option<String>,
}Expand description
Represents a repository’s webhook returned from a source provider.
Fields§
§name: Option<String>The friendly name of the repository.
types: Vec<Value>§url: Option<String>The URL of the repository.
Implementations§
Trait Implementations§
source§impl Clone for RepositoryWebhook
impl Clone for RepositoryWebhook
source§fn clone(&self) -> RepositoryWebhook
fn clone(&self) -> RepositoryWebhook
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 RepositoryWebhook
impl Debug for RepositoryWebhook
source§impl Default for RepositoryWebhook
impl Default for RepositoryWebhook
source§fn default() -> RepositoryWebhook
fn default() -> RepositoryWebhook
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RepositoryWebhook
impl<'de> Deserialize<'de> for RepositoryWebhook
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 RepositoryWebhook
impl PartialEq for RepositoryWebhook
source§fn eq(&self, other: &RepositoryWebhook) -> bool
fn eq(&self, other: &RepositoryWebhook) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RepositoryWebhook
impl Serialize for RepositoryWebhook
impl StructuralPartialEq for RepositoryWebhook
Auto Trait Implementations§
impl Freeze for RepositoryWebhook
impl RefUnwindSafe for RepositoryWebhook
impl Send for RepositoryWebhook
impl Sync for RepositoryWebhook
impl Unpin for RepositoryWebhook
impl UnwindSafe for RepositoryWebhook
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