Struct azure_devops_rust_api::build::models::BuildSettings   
source · pub struct BuildSettings {
    pub days_to_keep_deleted_builds_before_destroy: Option<i32>,
    pub default_retention_policy: Option<RetentionPolicy>,
    pub maximum_retention_policy: Option<RetentionPolicy>,
}Expand description
Represents system-wide build settings.
Fields§
§days_to_keep_deleted_builds_before_destroy: Option<i32>The number of days to keep records of deleted builds.
default_retention_policy: Option<RetentionPolicy>Represents a retention policy for a build definition.
maximum_retention_policy: Option<RetentionPolicy>Represents a retention policy for a build definition.
Implementations§
source§impl BuildSettings
 
impl BuildSettings
Trait Implementations§
source§impl Clone for BuildSettings
 
impl Clone for BuildSettings
source§fn clone(&self) -> BuildSettings
 
fn clone(&self) -> BuildSettings
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 BuildSettings
 
impl Debug for BuildSettings
source§impl Default for BuildSettings
 
impl Default for BuildSettings
source§fn default() -> BuildSettings
 
fn default() -> BuildSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BuildSettings
 
impl<'de> Deserialize<'de> for BuildSettings
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 BuildSettings
 
impl PartialEq for BuildSettings
source§fn eq(&self, other: &BuildSettings) -> bool
 
fn eq(&self, other: &BuildSettings) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for BuildSettings
 
impl Serialize for BuildSettings
impl StructuralPartialEq for BuildSettings
Auto Trait Implementations§
impl RefUnwindSafe for BuildSettings
impl Send for BuildSettings
impl Sync for BuildSettings
impl Unpin for BuildSettings
impl UnwindSafe for BuildSettings
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