pub struct CharmRecipes(/* private fields */);Expand description
A utility to create and access charm recipes.
Implementations§
Source§impl CharmRecipes
impl CharmRecipes
Sourcepub fn iter<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, CharmRecipePage>, Error>
pub fn iter<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, CharmRecipePage>, Error>
Get a paged collection of CharmRecipePage.
Sourcepub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
Retrieve the WADL description for this resource.
This method fetches the WADL (Web Application Description Language) specification for the current resource, allowing for runtime API discovery.
§Returns
Returns the wadl::ast::Resource definition on success, or an error if the request fails.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CharmRecipes
impl RefUnwindSafe for CharmRecipes
impl Send for CharmRecipes
impl Sync for CharmRecipes
impl Unpin for CharmRecipes
impl UnwindSafe for CharmRecipes
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