pub struct BugLinkTarget(/* private fields */);Expand description
An entity which can be linked to bugs.
Examples include an ISpecification.
Implementations§
Source§impl BugLinkTarget
impl BugLinkTarget
Sourcepub fn get<'a>(
&self,
client: &'a dyn Client,
) -> Result<BugLinkTargetFull, Error>
pub fn get<'a>( &self, client: &'a dyn Client, ) -> Result<BugLinkTargetFull, Error>
Retrieve the resource.
§Returns
Returns BugLinkTargetFull on success, or an error if the request fails.
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 BugLinkTarget
impl RefUnwindSafe for BugLinkTarget
impl Send for BugLinkTarget
impl Sync for BugLinkTarget
impl Unpin for BugLinkTarget
impl UnwindSafe for BugLinkTarget
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