Struct google_spectrum1_explorer::api::FrequencyRange[][src]

pub struct FrequencyRange {
    pub channel_id: Option<String>,
    pub max_power_d_bm: Option<f64>,
    pub start_hz: Option<f64>,
    pub stop_hz: Option<f64>,
}

A specific range of frequencies together with the associated maximum power level and channel identifier.

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

Fields

channel_id: Option<String>

The database may include a channel identifier, when applicable. When it is included, the device should treat it as informative. The length of the identifier should not exceed 16 characters.

max_power_d_bm: Option<f64>

The maximum total power level (EIRP)—computed over the corresponding operating bandwidth—that is permitted within the frequency range. Depending on the context in which the frequency-range element appears, this value may be required. For example, it is required in the available-spectrum response, available-spectrum-batch response, and spectrum-use notification message, but it should not be present (it is not applicable) when the frequency range appears inside a device-capabilities message.

start_hz: Option<f64>

The required inclusive start of the frequency range (in Hertz).

stop_hz: Option<f64>

The required exclusive end of the frequency range (in Hertz).

Trait Implementations

impl Clone for FrequencyRange[src]

impl Debug for FrequencyRange[src]

impl Default for FrequencyRange[src]

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

impl Part for FrequencyRange[src]

impl Serialize for FrequencyRange[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> Instrument 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.