pub struct DistroArchSeries(/* private fields */);Expand description
An architecture for a distroseries.
Implementations§
Source§impl DistroArchSeries
impl DistroArchSeries
pub fn get<'a>( &self, client: &'a dyn Client, ) -> Result<DistroArchSeriesFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &DistroArchSeriesFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &DistroArchSeriesDiff, ) -> Result<(), Error>
Sourcepub fn get_build_records<'a>(
&self,
client: &'a dyn Client,
source_name: Option<&str>,
build_state: Option<&BuildState>,
pocket: Option<&Pocket>,
) -> Result<PagedCollection<'a, BuildPage>, Error>
pub fn get_build_records<'a>( &self, client: &'a dyn Client, source_name: Option<&str>, build_state: Option<&BuildState>, pocket: Option<&Pocket>, ) -> Result<PagedCollection<'a, BuildPage>, Error>
Return build records in the context it is implemented.
It excludes build records generated by Gina (imported from a external repository), where IBuild.datebuilt is null and IBuild.buildstate is BuildStatus.FULLYBUILT.
The result is simply not filtered if the optional filters are omitted by call sites.
§Arguments
-
source_name: Source package name -
build_state: Build statusThe status of this build record
-
pocket: PocketThe pocket into which this entry is published
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DistroArchSeries
impl RefUnwindSafe for DistroArchSeries
impl Send for DistroArchSeries
impl Sync for DistroArchSeries
impl Unpin for DistroArchSeries
impl UnwindSafe for DistroArchSeries
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