pub struct WeeklyTrackChartRequestBuilder { /* private fields */ }Expand description
Builder for user.getWeeklyTrackChart requests
Implementations§
Source§impl WeeklyTrackChartRequestBuilder
impl WeeklyTrackChartRequestBuilder
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).
Should be used together with to.
If omitted, returns the most recent week’s chart.
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).
Should be used together with from.
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 WeeklyTrackChartRequestBuilder
impl !RefUnwindSafe for WeeklyTrackChartRequestBuilder
impl Send for WeeklyTrackChartRequestBuilder
impl Sync for WeeklyTrackChartRequestBuilder
impl Unpin for WeeklyTrackChartRequestBuilder
impl UnsafeUnpin for WeeklyTrackChartRequestBuilder
impl !UnwindSafe for WeeklyTrackChartRequestBuilder
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