#[non_exhaustive]pub struct WeeklyChartRange {
pub from: u32,
pub to: u32,
}Expand description
A time range representing a weekly chart period.
Returned as part of user.getWeeklyChartList.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.from: u32Start of the week as a Unix timestamp
to: u32End of the week as a Unix timestamp
Trait Implementations§
Source§impl Clone for WeeklyChartRange
impl Clone for WeeklyChartRange
Source§fn clone(&self) -> WeeklyChartRange
fn clone(&self) -> WeeklyChartRange
Returns a duplicate 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 Freeze for WeeklyChartRange
impl RefUnwindSafe for WeeklyChartRange
impl Send for WeeklyChartRange
impl Sync for WeeklyChartRange
impl Unpin for WeeklyChartRange
impl UnsafeUnpin for WeeklyChartRange
impl UnwindSafe for WeeklyChartRange
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