Struct google_spectrum1_explorer::PawsInitRequest
[−]
[src]
pub struct PawsInitRequest { pub device_desc: Option<DeviceDescriptor>, pub type_: Option<String>, pub location: Option<GeoLocation>, pub version: Option<String>, }
The initialization request message allows the master device to initiate exchange of capabilities with the database.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- init paws (request)
Fields
device_desc: Option<DeviceDescriptor>
The DeviceDescriptor parameter is required. If the database does not support the device or any of the rulesets specified in the device descriptor, it must return an UNSUPPORTED error code in the error response.
type_: Option<String>
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
location: Option<GeoLocation>
A device's geolocation is required.
version: Option<String>
The PAWS version. Must be exactly 1.0.
Required field.
Trait Implementations
impl Debug for PawsInitRequest
[src]
impl Clone for PawsInitRequest
[src]
fn clone(&self) -> PawsInitRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for PawsInitRequest
[src]
fn default() -> PawsInitRequest
Returns the "default value" for a type. Read more