pub struct GoogleEndpointDevice {
pub pk: Option<Uuid>,
pub name: String,
}Expand description
GoogleEndpointDevice : Serializer for Endpoint authenticator devices
Fields§
§pk: Option<Uuid>§name: StringThe human-readable name of this device.
Implementations§
Source§impl GoogleEndpointDevice
impl GoogleEndpointDevice
Sourcepub fn new(name: String) -> GoogleEndpointDevice
pub fn new(name: String) -> GoogleEndpointDevice
Serializer for Endpoint authenticator devices
Trait Implementations§
Source§impl Clone for GoogleEndpointDevice
impl Clone for GoogleEndpointDevice
Source§fn clone(&self) -> GoogleEndpointDevice
fn clone(&self) -> GoogleEndpointDevice
Returns a duplicate 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 GoogleEndpointDevice
impl Debug for GoogleEndpointDevice
Source§impl Default for GoogleEndpointDevice
impl Default for GoogleEndpointDevice
Source§fn default() -> GoogleEndpointDevice
fn default() -> GoogleEndpointDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleEndpointDevice
impl<'de> Deserialize<'de> for GoogleEndpointDevice
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 GoogleEndpointDevice
impl PartialEq for GoogleEndpointDevice
Source§impl Serialize for GoogleEndpointDevice
impl Serialize for GoogleEndpointDevice
impl StructuralPartialEq for GoogleEndpointDevice
Auto Trait Implementations§
impl Freeze for GoogleEndpointDevice
impl RefUnwindSafe for GoogleEndpointDevice
impl Send for GoogleEndpointDevice
impl Sync for GoogleEndpointDevice
impl Unpin for GoogleEndpointDevice
impl UnwindSafe for GoogleEndpointDevice
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