pub struct SnapBaseFull {Show 14 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub build_channels: Vec<String>,
pub date_created: DateTime<Utc>,
pub dependencies_collection_link: Url,
pub display_name: String,
pub distro_series_link: Url,
pub features: Vec<String>,
pub is_default: bool,
pub name: String,
pub processors_collection_link: Url,
pub registrant_link: Url,
}Expand description
Representation of the snap_base-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.
build_channels: Vec<String>Source snap channels for builds
A dictionary mapping snap names to channels to use when building snaps that specify this base. The special ‘_byarch’ key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures.
date_created: DateTime<Utc>Date created
dependencies_collection_link: UrlArchive dependencies for this snap base.
display_name: StringDisplay name
distro_series_link: UrlDistro series
features: Vec<String>Features supported by this base
A dictionary designating the features supported by the base. Key is the name of a feature, value is a boolean indicating whether the feature is supported or not.
is_default: boolIs default?
Whether this base is the default for snaps that do not specify a base.
name: StringName
processors_collection_link: UrlProcessors
The architectures that the snap base supports.
registrant_link: UrlRegistrant
The person who registered this base.
Implementations§
Source§impl SnapBaseFull
impl SnapBaseFull
pub fn set_self_(&mut self, value: Option<SnapBase>)
Sourcepub fn dependencies<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, ArchiveDependencyPage>, Error>
pub fn dependencies<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, ArchiveDependencyPage>, Error>
Archive dependencies for this snap base.
Sourcepub fn distro_series(&self) -> DistroSeries
pub fn distro_series(&self) -> DistroSeries
Distro series
pub fn set_distro_series(&mut self, value: DistroSeries)
Sourcepub fn processors<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, ProcessorPage>, Error>
pub fn processors<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, ProcessorPage>, Error>
Processors
The architectures that the snap base supports.
Sourcepub fn registrant(&self) -> Person
pub fn registrant(&self) -> Person
Registrant
The person who registered this base.
pub fn set_registrant(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for SnapBaseFull
impl Clone for SnapBaseFull
Source§fn clone(&self) -> SnapBaseFull
fn clone(&self) -> SnapBaseFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more