pub struct ApiTokenSettings {
pub token_hash: String,
}Expand description
The record’s config.settings — the hash only, never the key.
Fields§
§token_hash: StringThe stored hash (config.settings.tokenHash).
Trait Implementations§
Source§impl Clone for ApiTokenSettings
impl Clone for ApiTokenSettings
Source§fn clone(&self) -> ApiTokenSettings
fn clone(&self) -> ApiTokenSettings
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 ApiTokenSettings
impl Debug for ApiTokenSettings
Source§impl Default for ApiTokenSettings
impl Default for ApiTokenSettings
Source§fn default() -> ApiTokenSettings
fn default() -> ApiTokenSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiTokenSettings
impl<'de> Deserialize<'de> for ApiTokenSettings
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 ApiTokenSettings
impl PartialEq for ApiTokenSettings
Source§impl Serialize for ApiTokenSettings
impl Serialize for ApiTokenSettings
impl StructuralPartialEq for ApiTokenSettings
Auto Trait Implementations§
impl Freeze for ApiTokenSettings
impl RefUnwindSafe for ApiTokenSettings
impl Send for ApiTokenSettings
impl Sync for ApiTokenSettings
impl Unpin for ApiTokenSettings
impl UnsafeUnpin for ApiTokenSettings
impl UnwindSafe for ApiTokenSettings
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