pub struct SmsDevice {
pub name: String,
pub pk: i32,
pub phone_number: String,
}
Expand description
SmsDevice : Serializer for sms authenticator devices
Fields§
§name: String
The human-readable name of this device.
pk: i32
§phone_number: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SmsDevice
impl<'de> Deserialize<'de> for SmsDevice
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 SmsDevice
Auto Trait Implementations§
impl Freeze for SmsDevice
impl RefUnwindSafe for SmsDevice
impl Send for SmsDevice
impl Sync for SmsDevice
impl Unpin for SmsDevice
impl UnwindSafe for SmsDevice
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