Struct google_spectrum1_explorer::RulesetInfo [] [src]

pub struct RulesetInfo {
    pub ruleset_ids: Option<Vec<String>>,
    pub max_polling_secs: Option<i32>,
    pub authority: Option<String>,
    pub max_location_change: Option<f64>,
}

This contains parameters for the ruleset of a regulatory domain that is communicated using the initialization and available-spectrum processes.

This type is not used in any activity, and only used as part of another schema.

Fields

The identifiers of the rulesets supported for the device's location. The database should include at least one applicable ruleset in the initialization response. The device may use the ruleset identifiers to determine parameters to include in subsequent requests. Within the context of the available-spectrum responses, the database should include the identifier of the ruleset that it used to determine the available-spectrum response. If included, the device must use the specified ruleset to interpret the response. If the device does not support the indicated ruleset, it must not operate in the spectrum governed by the ruleset.

The maximum duration, in seconds, between requests for available spectrum. It is required in the initialization response, but optional otherwise. The device must contact the database to get available spectrum no less frequently than this duration. If the new spectrum information indicates that the device is using spectrum that is no longer available, it must immediately cease use of those frequencies under rules for database-managed spectrum. If this value is provided within the context of an available-spectrum response, it takes precedence over the value within the initialization response.

The regulatory domain to which the ruleset belongs is required. It must be a 2-letter country code. The device should use this to determine additional device behavior required by the associated regulatory domain.

The maximum location change in meters is required in the initialization response, but optional otherwise. When the device changes location by more than this specified distance, it must contact the database to get the available spectrum for the new location. If the device is using spectrum that is no longer available, it must immediately cease use of the spectrum under rules for database-managed spectrum. If this value is provided within the context of an available-spectrum response, it takes precedence over the value within the initialization response.

Trait Implementations

impl Debug for RulesetInfo
[src]

Formats the value using the given formatter.

impl Clone for RulesetInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for RulesetInfo
[src]

Returns the "default value" for a type. Read more

impl Part for RulesetInfo
[src]