pub struct CharmBases(/* private fields */);Expand description
Interface representing the set of bases for charms.
Implementations§
Source§impl CharmBases
impl CharmBases
Sourcepub fn iter<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, CharmBasePage>, Error>
pub fn iter<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, CharmBasePage>, Error>
Get a paged collection of CharmBasePage.
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 CharmBases
impl RefUnwindSafe for CharmBases
impl Send for CharmBases
impl Sync for CharmBases
impl Unpin for CharmBases
impl UnsafeUnpin for CharmBases
impl UnwindSafe for CharmBases
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