[][src]Struct bufkit_data::StationSummary

pub struct StationSummary {
    pub station_num: StationNumber,
    pub ids: Vec<String>,
    pub models: Vec<Model>,
    pub name: Option<String>,
    pub notes: Option<String>,
    pub state: Option<StateProv>,
    pub time_zone: Option<FixedOffset>,
    pub auto_download: bool,
    pub number_of_files: u32,
}

A summary of the information about a station.

Fields

station_num: StationNumber

Station number

ids: Vec<String>

List of ids associated with this site

models: Vec<Model>

All the models in the archive associated with this site

name: Option<String>

Station name, common name

notes: Option<String>

Notes related to the site

state: Option<StateProv>

The state-province associated with the site.

time_zone: Option<FixedOffset>

The time zone offset to local standard time.

auto_download: bool

Is this site marked for automatic downloads.

number_of_files: u32

The number of files in the archive related to this site.

Implementations

impl StationSummary[src]

pub fn ids_as_string(&self) -> String[src]

Concantenate the ids into a comma separated list.

pub fn models_as_string(&self) -> String[src]

Concatenate the models into a comma separated list.

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> 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.