pub struct PairingSlot {
pub slot: u16,
pub expires_at: DateTime<Utc>,
}Expand description
POST /pairings (DM only): a slot for pairing a new device.
Fields§
§slot: u16§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for PairingSlot
impl Clone for PairingSlot
Source§fn clone(&self) -> PairingSlot
fn clone(&self) -> PairingSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for PairingSlot
impl ComposeSchema for PairingSlot
Source§impl Debug for PairingSlot
impl Debug for PairingSlot
Source§impl<'de> Deserialize<'de> for PairingSlot
impl<'de> Deserialize<'de> for PairingSlot
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 Serialize for PairingSlot
impl Serialize for PairingSlot
Auto Trait Implementations§
impl Freeze for PairingSlot
impl RefUnwindSafe for PairingSlot
impl Send for PairingSlot
impl Sync for PairingSlot
impl Unpin for PairingSlot
impl UnsafeUnpin for PairingSlot
impl UnwindSafe for PairingSlot
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