pub struct ApiTokenConfig {
pub profile: ApiTokenProfile,
pub settings: ApiTokenSettings,
}Expand description
The record’s config — profile (level + flags) + settings
(the hash).
Fields§
§profile: ApiTokenProfileThe token profile.
settings: ApiTokenSettingsThe hash store.
Trait Implementations§
Source§impl Clone for ApiTokenConfig
impl Clone for ApiTokenConfig
Source§fn clone(&self) -> ApiTokenConfig
fn clone(&self) -> ApiTokenConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApiTokenConfig
impl Debug for ApiTokenConfig
Source§impl Default for ApiTokenConfig
impl Default for ApiTokenConfig
Source§fn default() -> ApiTokenConfig
fn default() -> ApiTokenConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiTokenConfig
impl<'de> Deserialize<'de> for ApiTokenConfig
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 PartialEq for ApiTokenConfig
impl PartialEq for ApiTokenConfig
Source§impl Serialize for ApiTokenConfig
impl Serialize for ApiTokenConfig
impl StructuralPartialEq for ApiTokenConfig
Auto Trait Implementations§
impl Freeze for ApiTokenConfig
impl RefUnwindSafe for ApiTokenConfig
impl Send for ApiTokenConfig
impl Sync for ApiTokenConfig
impl Unpin for ApiTokenConfig
impl UnsafeUnpin for ApiTokenConfig
impl UnwindSafe for ApiTokenConfig
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