pub struct AccessTokenTarget(/* private fields */);Expand description
An object that can be a target for access tokens.
Implementations§
Source§impl AccessTokenTarget
impl AccessTokenTarget
pub fn get<'a>( &self, client: &'a dyn Client, ) -> Result<AccessTokenTargetFull, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn put<'a>( &self, client: &'a dyn Client, representation: &AccessTokenTargetFull, ) -> Result<(), Error>
pub fn patch<'a>( &self, client: &'a dyn Client, representation: &AccessTokenTargetDiff, ) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AccessTokenTarget
impl RefUnwindSafe for AccessTokenTarget
impl Send for AccessTokenTarget
impl Sync for AccessTokenTarget
impl Unpin for AccessTokenTarget
impl UnwindSafe for AccessTokenTarget
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