Struct radiobrowser::StationSearchBuilder
source · pub struct StationSearchBuilder { /* private fields */ }
Implementations§
source§impl StationSearchBuilder
impl StationSearchBuilder
pub fn new(api: RadioBrowserAPI) -> Self
pub fn name<P: AsRef<str>>(self, name: P) -> Self
pub fn name_exact(self, name_exact: bool) -> Self
pub fn country<P: AsRef<str>>(self, country: P) -> Self
pub fn country_exact(self, country_exact: bool) -> Self
pub fn countrycode<P: AsRef<str>>(self, countrycode: P) -> Self
pub fn state<P: AsRef<str>>(self, state: P) -> Self
pub fn state_exact(self, state_exact: bool) -> Self
pub fn language<P: AsRef<str>>(self, language: P) -> Self
pub fn language_exact(self, language_exact: bool) -> Self
pub fn tag<P: AsRef<str>>(self, tag: P) -> Self
pub fn tag_exact(self, tag_exact: bool) -> Self
pub fn tag_list(self, tags: Vec<&str>) -> Self
pub fn codec<P: AsRef<str>>(self, codec: P) -> Self
pub fn bitrate_min(self, bitrate_min: u16) -> Self
pub fn bitrate_max(self, bitrate_max: u16) -> Self
pub fn has_geo_info(self, has_geo_info: bool) -> Self
pub fn has_extended_info(self, has_extended_info: bool) -> Self
pub fn is_https(self, is_https: bool) -> Self
pub fn order(self, order: StationOrder) -> Self
pub fn reverse(self, reverse: bool) -> Self
pub fn offset<P: AsRef<str>>(self, offset: P) -> Self
pub fn limit<P: AsRef<str>>(self, limit: P) -> Self
pub fn hidebroken(self, hidebroken: bool) -> Self
pub async fn send(self) -> Result<Vec<ApiStation>, Box<dyn Error>>
Trait Implementations§
source§impl Clone for StationSearchBuilder
impl Clone for StationSearchBuilder
source§fn clone(&self) -> StationSearchBuilder
fn clone(&self) -> StationSearchBuilder
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 moreAuto Trait Implementations§
impl RefUnwindSafe for StationSearchBuilder
impl Send for StationSearchBuilder
impl Sync for StationSearchBuilder
impl Unpin for StationSearchBuilder
impl UnwindSafe for StationSearchBuilder
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