pub struct WeeklyArtistChartRequestBuilder { /* private fields */ }Expand description
Builder for user.getWeeklyArtistChart requests
Implementations§
Source§impl WeeklyArtistChartRequestBuilder
impl WeeklyArtistChartRequestBuilder
Sourcepub const fn from(self, timestamp: u32) -> Self
pub const fn from(self, timestamp: u32) -> Self
Set the start of the chart period (Unix timestamp).
Sourcepub const fn to(self, timestamp: u32) -> Self
pub const fn to(self, timestamp: u32) -> Self
Set the end of the chart period (Unix timestamp).
Sourcepub const fn range(self, range: &WeeklyChartRange) -> Self
pub const fn range(self, range: &WeeklyChartRange) -> Self
Set the chart period from a WeeklyChartRange.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WeeklyArtistChartRequestBuilder
impl !RefUnwindSafe for WeeklyArtistChartRequestBuilder
impl Send for WeeklyArtistChartRequestBuilder
impl Sync for WeeklyArtistChartRequestBuilder
impl Unpin for WeeklyArtistChartRequestBuilder
impl UnsafeUnpin for WeeklyArtistChartRequestBuilder
impl !UnwindSafe for WeeklyArtistChartRequestBuilder
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