Struct google_spectrum1_explorer::api::SpectrumSchedule
source · pub struct SpectrumSchedule {
pub event_time: Option<EventTime>,
pub spectra: Option<Vec<SpectrumMessage>>,
}
Expand description
The spectrum schedule element combines an event time with spectrum profile to define a time period in which the profile is valid.
This type is not used in any activity, and only used as part of another schema.
Fields§
§event_time: Option<EventTime>
The event time expresses when the spectrum profile is valid. It will always be present.
spectra: Option<Vec<SpectrumMessage>>
A list of spectrum messages representing the usable profile. It will always be present, but may be empty when there is no available spectrum.
Trait Implementations§
source§impl Clone for SpectrumSchedule
impl Clone for SpectrumSchedule
source§fn clone(&self) -> SpectrumSchedule
fn clone(&self) -> SpectrumSchedule
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 SpectrumSchedule
impl Debug for SpectrumSchedule
source§impl Default for SpectrumSchedule
impl Default for SpectrumSchedule
source§fn default() -> SpectrumSchedule
fn default() -> SpectrumSchedule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SpectrumSchedule
impl<'de> Deserialize<'de> for SpectrumSchedule
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 SpectrumSchedule
impl Serialize for SpectrumSchedule
impl Part for SpectrumSchedule
Auto Trait Implementations§
impl RefUnwindSafe for SpectrumSchedule
impl Send for SpectrumSchedule
impl Sync for SpectrumSchedule
impl Unpin for SpectrumSchedule
impl UnwindSafe for SpectrumSchedule
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