Struct google_spectrum1_explorer::api::DeviceOwner
source · pub struct DeviceOwner {
pub operator: Option<Vcard>,
pub owner: Option<Vcard>,
}
Expand description
This parameter contains device-owner information required as part of device registration. The regulatory domains may require additional parameters.
All contact information must be expressed using the structure defined by the vCard format specification. Only the contact fields of vCard are supported:
- fn: Full name of an individual
- org: Name of the organization
- adr: Address fields
- tel: Telephone numbers
- email: Email addresses
Note that the vCard specification defines maximum lengths for each field.
This type is not used in any activity, and only used as part of another schema.
Fields§
§operator: Option<Vcard>
The vCard contact information for the device operator is optional, but may be required by specific regulatory domains.
owner: Option<Vcard>
The vCard contact information for the individual or business that owns the device is required.
Trait Implementations§
source§impl Clone for DeviceOwner
impl Clone for DeviceOwner
source§fn clone(&self) -> DeviceOwner
fn clone(&self) -> DeviceOwner
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 DeviceOwner
impl Debug for DeviceOwner
source§impl Default for DeviceOwner
impl Default for DeviceOwner
source§fn default() -> DeviceOwner
fn default() -> DeviceOwner
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceOwner
impl<'de> Deserialize<'de> for DeviceOwner
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 DeviceOwner
impl Serialize for DeviceOwner
impl Part for DeviceOwner
Auto Trait Implementations§
impl RefUnwindSafe for DeviceOwner
impl Send for DeviceOwner
impl Sync for DeviceOwner
impl Unpin for DeviceOwner
impl UnwindSafe for DeviceOwner
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