Struct google_spectrum1_explorer::api::DeviceCapabilities
source · pub struct DeviceCapabilities {
pub frequency_ranges: Option<Vec<FrequencyRange>>,
}
Expand description
Device capabilities provide additional information that may be used by a device to provide additional information to the database that may help it to determine available spectrum. If the database does not support device capabilities it will ignore the parameter altogether.
This type is not used in any activity, and only used as part of another schema.
Fields§
§frequency_ranges: Option<Vec<FrequencyRange>>
An optional list of frequency ranges supported by the device. Each element must contain start and stop frequencies in which the device can operate. Channel identifiers are optional. When specified, the database should not return available spectrum that falls outside these ranges or channel IDs.
Trait Implementations§
source§impl Clone for DeviceCapabilities
impl Clone for DeviceCapabilities
source§fn clone(&self) -> DeviceCapabilities
fn clone(&self) -> DeviceCapabilities
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceCapabilities
impl Debug for DeviceCapabilities
source§impl Default for DeviceCapabilities
impl Default for DeviceCapabilities
source§fn default() -> DeviceCapabilities
fn default() -> DeviceCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceCapabilities
impl<'de> Deserialize<'de> for DeviceCapabilities
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for DeviceCapabilities
impl Serialize for DeviceCapabilities
impl Part for DeviceCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for DeviceCapabilities
impl Send for DeviceCapabilities
impl Sync for DeviceCapabilities
impl Unpin for DeviceCapabilities
impl UnwindSafe for DeviceCapabilities
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more