pub struct ServiceTotpMetadata {
pub algorithm: String,
pub digits: u8,
pub period: u32,
pub issuer: Option<String>,
pub account_name: Option<String>,
}Expand description
Wire DTO for TOTP metadata.
Fields§
§algorithm: String§digits: u8§period: u32§issuer: Option<String>§account_name: Option<String>Trait Implementations§
Source§impl Clone for ServiceTotpMetadata
impl Clone for ServiceTotpMetadata
Source§fn clone(&self) -> ServiceTotpMetadata
fn clone(&self) -> ServiceTotpMetadata
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 ServiceTotpMetadata
impl Debug for ServiceTotpMetadata
Source§impl<'de> Deserialize<'de> for ServiceTotpMetadata
impl<'de> Deserialize<'de> for ServiceTotpMetadata
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
Auto Trait Implementations§
impl Freeze for ServiceTotpMetadata
impl RefUnwindSafe for ServiceTotpMetadata
impl Send for ServiceTotpMetadata
impl Sync for ServiceTotpMetadata
impl Unpin for ServiceTotpMetadata
impl UnsafeUnpin for ServiceTotpMetadata
impl UnwindSafe for ServiceTotpMetadata
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