[][src]Struct google_spectrum1_explorer::PawsInitResponse

pub struct PawsInitResponse {
    pub database_change: Option<DbUpdateSpec>,
    pub kind: Option<String>,
    pub version: Option<String>,
    pub type_: Option<String>,
    pub ruleset_info: Option<RulesetInfo>,
}

The initialization response message communicates database parameters to the requesting device.

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

database_change: Option<DbUpdateSpec>

A database may include the databaseChange parameter to notify a device of a change to its database URI, providing one or more alternate database URIs. The device should use this information to update its list of pre-configured databases by (only) replacing its entry for the responding database with the list of alternate URIs.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string "spectrum#pawsInitResponse".

version: Option<String>

The PAWS version. Must be exactly 1.0.

Required field.

type_: Option<String>

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).

Required field.

ruleset_info: Option<RulesetInfo>

The rulesetInfo parameter must be included in the response. This parameter specifies the regulatory domain and parameters applicable to that domain. The database must include the authority field, which defines the regulatory domain for the location specified in the INIT_REQ message.

Trait Implementations

impl Clone for PawsInitResponse[src]

impl Debug for PawsInitResponse[src]

impl Default for PawsInitResponse[src]

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

impl ResponseResult for PawsInitResponse[src]

impl Serialize for PawsInitResponse[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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 = Infallible

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> Typeable for T where
    T: Any