pub struct Device {
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub pk: i32,
pub name: String,
pub type: String,
pub confirmed: bool,
}
Expand description
Device : Serializer for Duo authenticator devices
Fields§
§verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
pk: i32
§name: String
§type: String
Get type of device
confirmed: bool
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Device
impl<'de> Deserialize<'de> for Device
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
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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