pub struct Pillar(/* private fields */);Expand description
An object that might be a project, a project group, or a distribution.
This is a polymorphic object served by the pillar set. Check the individual object to see what type it is.
Implementations§
Source§impl Pillar
impl Pillar
pub fn get<'a>(&self, client: &'a dyn Client) -> Result<PillarFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &PillarFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &PillarDiff, ) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pillar
impl RefUnwindSafe for Pillar
impl Send for Pillar
impl Sync for Pillar
impl Unpin for Pillar
impl UnwindSafe for Pillar
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