pub enum ApiToken {
GetCapabilities,
Derive,
ListActive,
Revoke,
}Variants§
GetCapabilities
GET /api-tokens/capabilities — Partner capabilities.
Derive
POST /api-tokens/derive — Derive a scoped token.
ListActive
GET /api-tokens — List active tokens.
Revoke
DELETE /api-tokens/{id} — Revoke a token.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiToken
impl RefUnwindSafe for ApiToken
impl Send for ApiToken
impl Sync for ApiToken
impl Unpin for ApiToken
impl UnsafeUnpin for ApiToken
impl UnwindSafe for ApiToken
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