Struct azure_devops_rust_api::build::models::MinimalRetentionLease
source · pub struct MinimalRetentionLease {
pub definition_id: Option<i32>,
pub owner_id: Option<String>,
pub run_id: Option<i32>,
}Expand description
Fields§
§definition_id: Option<i32>The pipeline definition of the run.
owner_id: Option<String>User-provided string that identifies the owner of a retention lease.
run_id: Option<i32>The pipeline run to protect.
Implementations§
Trait Implementations§
source§impl Clone for MinimalRetentionLease
impl Clone for MinimalRetentionLease
source§fn clone(&self) -> MinimalRetentionLease
fn clone(&self) -> MinimalRetentionLease
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 MinimalRetentionLease
impl Debug for MinimalRetentionLease
source§impl Default for MinimalRetentionLease
impl Default for MinimalRetentionLease
source§fn default() -> MinimalRetentionLease
fn default() -> MinimalRetentionLease
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MinimalRetentionLease
impl<'de> Deserialize<'de> for MinimalRetentionLease
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 MinimalRetentionLease
impl PartialEq for MinimalRetentionLease
source§fn eq(&self, other: &MinimalRetentionLease) -> bool
fn eq(&self, other: &MinimalRetentionLease) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MinimalRetentionLease
impl Serialize for MinimalRetentionLease
impl StructuralPartialEq for MinimalRetentionLease
Auto Trait Implementations§
impl RefUnwindSafe for MinimalRetentionLease
impl Send for MinimalRetentionLease
impl Sync for MinimalRetentionLease
impl Unpin for MinimalRetentionLease
impl UnwindSafe for MinimalRetentionLease
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