[][src]Struct google_spectrum1_explorer::PawsGetSpectrumBatchResponse

pub struct PawsGetSpectrumBatchResponse {
    pub geo_spectrum_schedules: Option<Vec<GeoSpectrumSchedule>>,
    pub kind: Option<String>,
    pub device_desc: Option<DeviceDescriptor>,
    pub database_change: Option<DbUpdateSpec>,
    pub max_total_bw_hz: Option<f64>,
    pub max_contiguous_bw_hz: Option<f64>,
    pub version: Option<String>,
    pub timestamp: Option<String>,
    pub ruleset_info: Option<RulesetInfo>,
    pub needs_spectrum_report: Option<bool>,
    pub type_: Option<String>,
}

The response message for the batch available spectrum query contains a schedule of available spectrum for the device at multiple locations.

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

geo_spectrum_schedules: Option<Vec<GeoSpectrumSchedule>>

The available spectrum batch response must contain a geo-spectrum schedule list, The list may be empty if spectrum is not available. The database may return more than one geo-spectrum schedule to represent future changes to the available spectrum. How far in advance a schedule may be provided depends upon the applicable regulatory domain. The database may return available spectrum for fewer geolocations than requested. The device must not make assumptions about the order of the entries in the list, and must use the geolocation value in each geo-spectrum schedule entry to match available spectrum to a location.

kind: Option<String>

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

device_desc: Option<DeviceDescriptor>

The database must return in its available spectrum response the device descriptor information it received in the master device's available spectrum batch request.

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.

max_total_bw_hz: Option<f64>

The database may return a constraint on the allowed maximum total bandwidth (in Hertz), which does not need to be contiguous. A regulatory domain may require the database to return this parameter. When this parameter is present in the available spectrum batch response, the device must apply this constraint to its spectrum-selection logic to ensure that total bandwidth does not exceed this value.

max_contiguous_bw_hz: Option<f64>

The database may return a constraint on the allowed maximum contiguous bandwidth (in Hertz). A regulatory domain may require the database to return this parameter. When this parameter is present in the response, the device must apply this constraint to its spectrum-selection logic to ensure that no single block of spectrum has bandwidth that exceeds this value.

version: Option<String>

The PAWS version. Must be exactly 1.0.

Required field.

timestamp: Option<String>

The database includes a timestamp of the form, YYYY-MM-DDThh:mm:ssZ (Internet timestamp format per RFC3339), in its available spectrum batch response. The timestamp should be used by the device as a reference for the start and stop times specified in the response spectrum schedules.

ruleset_info: Option<RulesetInfo>

The database should return ruleset information, which identifies the applicable regulatory authority and ruleset for the available spectrum batch response. If included, the device must use the corresponding ruleset to interpret the response. Values provided in the returned ruleset information, such as maxLocationChange, take precedence over any conflicting values provided in the ruleset information returned in a prior initialization response sent by the database to the device.

needs_spectrum_report: Option<bool>

For regulatory domains that require a spectrum-usage report from devices, the database must return true for this parameter if the geo-spectrum schedules list is not empty; otherwise, the database should either return false or omit this parameter. If this parameter is present and its value is true, the device must send a spectrum use notify message to the database; otherwise, the device should not send the notification.

type_: Option<String>

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

Required field.

Trait Implementations

impl ResponseResult for PawsGetSpectrumBatchResponse[src]

impl Default for PawsGetSpectrumBatchResponse[src]

impl Clone for PawsGetSpectrumBatchResponse[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PawsGetSpectrumBatchResponse[src]

impl Serialize for PawsGetSpectrumBatchResponse[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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