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