[][src]Struct google_spectrum1_explorer::SpectrumSchedule

pub struct SpectrumSchedule {
    pub event_time: Option<EventTime>,
    pub spectra: Option<Vec<SpectrumMessage>>,
}

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

impl Part for SpectrumSchedule[src]

impl Default for SpectrumSchedule[src]

impl Clone for SpectrumSchedule[src]

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

Performs copy-assignment from source. Read more

impl Debug for SpectrumSchedule[src]

impl Serialize for SpectrumSchedule[src]

impl<'de> Deserialize<'de> for SpectrumSchedule[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]