pub struct SnapBase(/* private fields */);Expand description
A base for snaps.
Implementations§
Source§impl SnapBase
impl SnapBase
pub fn get<'a>(&self, client: &'a dyn Client) -> Result<SnapBaseFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &SnapBaseFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &SnapBaseDiff, ) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SnapBase
impl RefUnwindSafe for SnapBase
impl Send for SnapBase
impl Sync for SnapBase
impl Unpin for SnapBase
impl UnwindSafe for SnapBase
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