pub struct RegistrationData {
pub device_secret: String,
}
Fields§
§device_secret: String
Trait Implementations§
Source§impl Clone for RegistrationData
impl Clone for RegistrationData
Source§fn clone(&self) -> RegistrationData
fn clone(&self) -> RegistrationData
Returns a copy 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 RegistrationData
impl Debug for RegistrationData
Source§impl Default for RegistrationData
impl Default for RegistrationData
Source§fn default() -> RegistrationData
fn default() -> RegistrationData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistrationData
impl<'de> Deserialize<'de> for RegistrationData
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<'a> MessageRead<'a> for RegistrationData
impl<'a> MessageRead<'a> for RegistrationData
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for RegistrationData
impl MessageWrite for RegistrationData
Source§impl PartialEq for RegistrationData
impl PartialEq for RegistrationData
Source§impl Serialize for RegistrationData
impl Serialize for RegistrationData
impl StructuralPartialEq for RegistrationData
Auto Trait Implementations§
impl Freeze for RegistrationData
impl RefUnwindSafe for RegistrationData
impl Send for RegistrationData
impl Sync for RegistrationData
impl Unpin for RegistrationData
impl UnwindSafe for RegistrationData
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