[][src]Struct google_spectrum1_explorer::PawsInitRequest

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).

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 RequestValue for PawsInitRequest[src]

impl Clone for PawsInitRequest[src]

impl Default for PawsInitRequest[src]

impl Debug for PawsInitRequest[src]

impl Serialize for PawsInitRequest[src]

impl<'de> Deserialize<'de> for PawsInitRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]