pub struct DistroSeriesDifference(/* private fields */);Expand description
An interface for a package difference between two distroseries.
Implementations§
Source§impl DistroSeriesDifference
impl DistroSeriesDifference
pub fn get<'a>( &self, client: &'a dyn Client, ) -> Result<DistroSeriesDifferenceFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &DistroSeriesDifferenceFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &DistroSeriesDifferenceDiff, ) -> Result<(), Error>
Sourcepub fn blocklist<'a>(
&self,
client: &'a dyn Client,
all: Option<&str>,
comment: Option<&str>,
) -> Result<(), Error>
pub fn blocklist<'a>( &self, client: &'a dyn Client, all: Option<&str>, comment: Option<&str>, ) -> Result<(), Error>
Blocklists this version or all versions of this source package and adds a comment on this difference.
§Arguments
all: Allcomment: Comment text
Sourcepub fn unblocklist<'a>(
&self,
client: &'a dyn Client,
comment: Option<&str>,
) -> Result<(), Error>
pub fn unblocklist<'a>( &self, client: &'a dyn Client, comment: Option<&str>, ) -> Result<(), Error>
Removes this difference from the blocklist and adds a comment on this difference.
The status will be updated based on the versions.
§Arguments
comment: Comment text
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DistroSeriesDifference
impl RefUnwindSafe for DistroSeriesDifference
impl Send for DistroSeriesDifference
impl Sync for DistroSeriesDifference
impl Unpin for DistroSeriesDifference
impl UnwindSafe for DistroSeriesDifference
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