pub struct WeeklyAlbumChartRequestBuilder { /* private fields */ }Expand description
Builder for user.getWeeklyAlbumChart requests
Implementations§
Source§impl WeeklyAlbumChartRequestBuilder
impl WeeklyAlbumChartRequestBuilder
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 WeeklyAlbumChartRequestBuilder
impl !RefUnwindSafe for WeeklyAlbumChartRequestBuilder
impl Send for WeeklyAlbumChartRequestBuilder
impl Sync for WeeklyAlbumChartRequestBuilder
impl Unpin for WeeklyAlbumChartRequestBuilder
impl UnsafeUnpin for WeeklyAlbumChartRequestBuilder
impl !UnwindSafe for WeeklyAlbumChartRequestBuilder
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