Struct google_spectrum1_explorer::api::PawsInitRequest [−][src]
pub struct PawsInitRequest {
pub device_desc: Option<DeviceDescriptor>,
pub location: Option<GeoLocation>,
pub type_: Option<String>,
pub version: Option<String>,
}
Expand description
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.
location: Option<GeoLocation>
A device’s geolocation is required.
type_: Option<String>
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, …).
Required field.
version: Option<String>
The PAWS version. Must be exactly 1.0.
Required field.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for PawsInitRequest
impl Send for PawsInitRequest
impl Sync for PawsInitRequest
impl Unpin for PawsInitRequest
impl UnwindSafe for PawsInitRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more