pub struct LivefsFull {Show 19 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub builds_collection_link: Url,
pub completed_builds_collection_link: Url,
pub date_created: DateTime<Utc>,
pub date_last_modified: DateTime<Utc>,
pub distro_series_link: Url,
pub id: String,
pub keep_binary_files_days: usize,
pub metadata: String,
pub name: String,
pub owner_link: Url,
pub pending_builds_collection_link: Url,
pub registrant_link: Url,
pub relative_build_score: f64,
pub require_virtualized: bool,
pub webhooks_collection_link: Url,
}Expand description
Representation of the livefs-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
builds_collection_link: UrlAll builds of this live filesystem.
All builds of this live filesystem, sorted in descending order of finishing (or starting if not completed successfully).
completed_builds_collection_link: UrlCompleted builds of this live filesystem.
Completed builds of this live filesystem, sorted in descending order of finishing.
date_created: DateTime<Utc>Date created
date_last_modified: DateTime<Utc>Date last modified
distro_series_link: UrlDistro Series
The series for which the image should be built.
id: StringID
keep_binary_files_days: usizeBinary file retention period
Keep binary files attached to builds of this live filesystem for at least this many days. If unset, disable pruning.
metadata: StringA dict of data about the image. Entries here will be passed to the builder.
name: StringName
The name of the live filesystem image.
owner_link: UrlOwner
The owner of this live filesystem image.
pending_builds_collection_link: UrlPending builds of this live filesystem.
Pending builds of this live filesystem, sorted in descending order of creation.
registrant_link: UrlRegistrant
The person who registered this live filesystem image.
relative_build_score: f64Relative build score
A delta to apply to all build scores for the live filesystem. Builds with a higher score will build sooner.
require_virtualized: boolRequire virtualized builders
Only build this live filesystem image on virtual builders.
webhooks_collection_link: UrlWebhooks for this target.
Implementations§
Source§impl LivefsFull
impl LivefsFull
pub fn set_self_(&mut self, value: Option<Livefs>)
Sourcepub fn builds<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, LivefsBuildPage>, Error>
pub fn builds<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, LivefsBuildPage>, Error>
All builds of this live filesystem.
All builds of this live filesystem, sorted in descending order of finishing (or starting if not completed successfully).
Sourcepub fn completed_builds<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, LivefsBuildPage>, Error>
pub fn completed_builds<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, LivefsBuildPage>, Error>
Completed builds of this live filesystem.
Completed builds of this live filesystem, sorted in descending order of finishing.
Sourcepub fn distro_series(&self) -> DistroSeries
pub fn distro_series(&self) -> DistroSeries
Distro Series
The series for which the image should be built.
pub fn set_distro_series(&mut self, value: DistroSeries)
pub fn set_owner(&mut self, value: Person)
Sourcepub fn pending_builds<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, LivefsBuildPage>, Error>
pub fn pending_builds<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, LivefsBuildPage>, Error>
Pending builds of this live filesystem.
Pending builds of this live filesystem, sorted in descending order of creation.
Sourcepub fn registrant(&self) -> Person
pub fn registrant(&self) -> Person
Registrant
The person who registered this live filesystem image.
pub fn set_registrant(&mut self, value: Person)
Sourcepub fn webhooks<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, WebhookPage>, Error>
pub fn webhooks<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, WebhookPage>, Error>
Webhooks for this target.
Trait Implementations§
Source§impl Clone for LivefsFull
impl Clone for LivefsFull
Source§fn clone(&self) -> LivefsFull
fn clone(&self) -> LivefsFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more