pub enum ApiTokenPurpose {
ReadOnly,
ReadWrite,
Synchronise,
}
Variants§
Trait Implementations§
source§impl Clone for ApiTokenPurpose
impl Clone for ApiTokenPurpose
source§fn clone(&self) -> ApiTokenPurpose
fn clone(&self) -> ApiTokenPurpose
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiTokenPurpose
impl Debug for ApiTokenPurpose
source§impl Default for ApiTokenPurpose
impl Default for ApiTokenPurpose
source§fn default() -> ApiTokenPurpose
fn default() -> ApiTokenPurpose
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ApiTokenPurpose
impl<'de> Deserialize<'de> for ApiTokenPurpose
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ApiTokenPurpose
impl Serialize for ApiTokenPurpose
Auto Trait Implementations§
impl Freeze for ApiTokenPurpose
impl RefUnwindSafe for ApiTokenPurpose
impl Send for ApiTokenPurpose
impl Sync for ApiTokenPurpose
impl Unpin for ApiTokenPurpose
impl UnwindSafe for ApiTokenPurpose
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)