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