pub struct LivefsDiff {
pub distro_series_link: Option<Url>,
pub keep_binary_files_days: Option<usize>,
pub metadata: Option<String>,
pub name: Option<String>,
pub owner_link: Option<Url>,
pub relative_build_score: Option<f64>,
pub require_virtualized: Option<bool>,
}Expand description
Representation of the livefs-diff resource
Fields§
§distro_series_link: Option<Url>Distro Series
The series for which the image should be built.
keep_binary_files_days: Option<usize>Binary file retention period
Keep binary files attached to builds of this live filesystem for at least this many days. If unset, disable pruning.
metadata: Option<String>A dict of data about the image. Entries here will be passed to the builder.
name: Option<String>Name
The name of the live filesystem image.
owner_link: Option<Url>Owner
The owner of this live filesystem image.
relative_build_score: Option<f64>Relative build score
A delta to apply to all build scores for the live filesystem. Builds with a higher score will build sooner.
require_virtualized: Option<bool>Require virtualized builders
Only build this live filesystem image on virtual builders.
Implementations§
Source§impl LivefsDiff
impl LivefsDiff
Sourcepub fn distro_series(&self) -> Option<DistroSeries>
pub fn distro_series(&self) -> Option<DistroSeries>
Distro Series
The series for which the image should be built.
pub fn set_distro_series(&mut self, value: Option<DistroSeries>)
pub fn set_owner(&mut self, value: Option<Person>)
Trait Implementations§
Source§impl Clone for LivefsDiff
impl Clone for LivefsDiff
Source§fn clone(&self) -> LivefsDiff
fn clone(&self) -> LivefsDiff
Returns a duplicate 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 LivefsDiff
impl Debug for LivefsDiff
Source§impl Default for LivefsDiff
impl Default for LivefsDiff
Source§impl<'de> Deserialize<'de> for LivefsDiff
impl<'de> Deserialize<'de> for LivefsDiff
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 LivefsDiff
impl PartialEq for LivefsDiff
Source§impl Serialize for LivefsDiff
impl Serialize for LivefsDiff
impl StructuralPartialEq for LivefsDiff
Auto Trait Implementations§
impl Freeze for LivefsDiff
impl RefUnwindSafe for LivefsDiff
impl Send for LivefsDiff
impl Sync for LivefsDiff
impl Unpin for LivefsDiff
impl UnwindSafe for LivefsDiff
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