[][src]Struct rustio::StationSearch

pub struct StationSearch {
    pub name: String,
    pub name_exact: bool,
    pub country: String,
    pub country_excat: bool,
    pub state: String,
    pub state_exact: bool,
    pub language: String,
    pub language_exact: bool,
    pub tag: String,
    pub tag_exact: bool,
    pub bitrate_min: u32,
    pub bitrate_max: u32,
    pub order: String,
    pub reverse: bool,
    pub offset: u32,
    pub limit: u32,
}

Fields

name: Stringname_exact: boolcountry: Stringcountry_excat: boolstate: Stringstate_exact: boollanguage: Stringlanguage_exact: booltag: Stringtag_exact: boolbitrate_min: u32bitrate_max: u32order: Stringreverse: booloffset: u32limit: u32

Methods

impl StationSearch[src]

pub fn new() -> Self[src]

pub fn search_for_name(name: String, exact: bool, limit: u32) -> Self[src]

Trait Implementations

impl PartialEq<StationSearch> for StationSearch[src]

impl Clone for StationSearch[src]

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

Performs copy-assignment from source. Read more

impl Debug for StationSearch[src]

impl RestPath<()> for StationSearch[src]

impl Serialize for StationSearch[src]

impl<'de> Deserialize<'de> for StationSearch[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 for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]