#[non_exhaustive]pub struct DeviceLinkFailDetails {
pub device_type: DeviceType,
pub ip_address: Option<IpAddress>,
}Available on crate feature
dbx_team_log only.Expand description
Failed to link device.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.device_type: DeviceTypeA description of the device used while user approval blocked.
ip_address: Option<IpAddress>IP address. Might be missing due to historical data gap.
Implementations§
Source§impl DeviceLinkFailDetails
impl DeviceLinkFailDetails
pub fn new(device_type: DeviceType) -> Self
pub fn with_ip_address(self, value: IpAddress) -> Self
Trait Implementations§
Source§impl Clone for DeviceLinkFailDetails
impl Clone for DeviceLinkFailDetails
Source§fn clone(&self) -> DeviceLinkFailDetails
fn clone(&self) -> DeviceLinkFailDetails
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 Debug for DeviceLinkFailDetails
impl Debug for DeviceLinkFailDetails
Source§impl<'de> Deserialize<'de> for DeviceLinkFailDetails
impl<'de> Deserialize<'de> for DeviceLinkFailDetails
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeviceLinkFailDetails
impl PartialEq for DeviceLinkFailDetails
Source§fn eq(&self, other: &DeviceLinkFailDetails) -> bool
fn eq(&self, other: &DeviceLinkFailDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeviceLinkFailDetails
impl Serialize for DeviceLinkFailDetails
impl Eq for DeviceLinkFailDetails
impl StructuralPartialEq for DeviceLinkFailDetails
Auto Trait Implementations§
impl Freeze for DeviceLinkFailDetails
impl RefUnwindSafe for DeviceLinkFailDetails
impl Send for DeviceLinkFailDetails
impl Sync for DeviceLinkFailDetails
impl Unpin for DeviceLinkFailDetails
impl UnsafeUnpin for DeviceLinkFailDetails
impl UnwindSafe for DeviceLinkFailDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.