pub struct ListTokens<'a> { /* private fields */ }Expand description
Builder for Client::list_tokens
Implementations§
Source§impl<'a> ListTokens<'a>
impl<'a> ListTokens<'a>
pub fn new(client: &'a Client) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<ListTokensResponse>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<ListTokensResponse>, Error<()>>
Sends a GET request to /v1/tokens
Trait Implementations§
Source§impl<'a> Clone for ListTokens<'a>
impl<'a> Clone for ListTokens<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ListTokens<'a>
impl<'a> !UnwindSafe for ListTokens<'a>
impl<'a> Forget for ListTokens<'a>
impl<'a> Freeze for ListTokens<'a>
impl<'a> Move for ListTokens<'a>
impl<'a> Send for ListTokens<'a>
impl<'a> Sync for ListTokens<'a>
impl<'a> Unpin for ListTokens<'a>
impl<'a> UnsafeUnpin for ListTokens<'a>
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