Struct radiobrowser::LanguageSearchBuilder
source · pub struct LanguageSearchBuilder { /* private fields */ }
Implementations§
source§impl LanguageSearchBuilder
impl LanguageSearchBuilder
pub fn new(api: RadioBrowserAPI) -> Self
pub fn filter<P: AsRef<str>>(self, filter: P) -> Self
pub fn order(self, order: LanguageOrder) -> 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<ApiLanguage>, Box<dyn Error>>
Trait Implementations§
source§impl Clone for LanguageSearchBuilder
impl Clone for LanguageSearchBuilder
source§fn clone(&self) -> LanguageSearchBuilder
fn clone(&self) -> LanguageSearchBuilder
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 LanguageSearchBuilder
impl Send for LanguageSearchBuilder
impl Sync for LanguageSearchBuilder
impl Unpin for LanguageSearchBuilder
impl UnwindSafe for LanguageSearchBuilder
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