pub struct DeviceValidity {
pub device_desc: Option<DeviceDescriptor>,
pub is_valid: Option<bool>,
pub reason: Option<String>,
}Expand description
The device validity element describes whether a particular device is valid to operate in the regulatory domain.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_desc: Option<DeviceDescriptor>The descriptor of the device for which the validity check was requested. It will always be present.
is_valid: Option<bool>The validity status: true if the device is valid for operation, false otherwise. It will always be present.
reason: Option<String>If the device identifier is not valid, the database may include a reason. The reason may be in any language. The length of the value should not exceed 128 characters.
Trait Implementations§
Source§impl Clone for DeviceValidity
impl Clone for DeviceValidity
Source§fn clone(&self) -> DeviceValidity
fn clone(&self) -> DeviceValidity
Returns a duplicate 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 DeviceValidity
impl Debug for DeviceValidity
Source§impl Default for DeviceValidity
impl Default for DeviceValidity
Source§fn default() -> DeviceValidity
fn default() -> DeviceValidity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceValidity
impl<'de> Deserialize<'de> for DeviceValidity
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 DeviceValidity
impl Serialize for DeviceValidity
impl Part for DeviceValidity
Auto Trait Implementations§
impl Freeze for DeviceValidity
impl RefUnwindSafe for DeviceValidity
impl Send for DeviceValidity
impl Sync for DeviceValidity
impl Unpin for DeviceValidity
impl UnwindSafe for DeviceValidity
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