[−][src]Struct lastfm_rs::RequestBuilder
The Request Builder.
This is the main request builder, used for constructing any and all requests to the Last.fm API.
client
- An instance of the Last.fm API client.url
- The Last.fm API endpoint URL to feed to the request builder.phantom
- An unused parameter, only used to satisfy the type checker.
Implementations
impl<'a> RequestBuilder<'a, LovedTracks>
[src]
pub fn with_limit(&'a mut self, v: usize) -> &'a mut Self
[src]
pub fn with_page(&'a mut self, v: usize) -> &'a mut Self
[src]
pub async fn send(&'a mut self) -> Result<LovedTracks, Error>
[src]
impl<'a> RequestBuilder<'a, RecentTracks>
[src]
pub fn with_limit(&'a mut self, v: usize) -> &'a mut Self
[src]
pub fn with_page(&'a mut self, v: usize) -> &'a mut Self
[src]
pub async fn send(&'a mut self) -> Result<RecentTracks, Error>
[src]
impl<'a> RequestBuilder<'a, TopArtists>
[src]
pub fn with_limit(&'a mut self, v: usize) -> &'a mut Self
[src]
pub fn within_period(&'a mut self, v: Period) -> &'a mut Self
[src]
pub fn with_page(&'a mut self, v: usize) -> &'a mut Self
[src]
pub async fn send(&'a mut self) -> Result<TopArtists, Error>
[src]
impl<'a> RequestBuilder<'a, UserInfo>
[src]
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for RequestBuilder<'a, T>
impl<'a, T> Send for RequestBuilder<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Sync for RequestBuilder<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for RequestBuilder<'a, T>
impl<'a, T> !UnwindSafe for RequestBuilder<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,