pub struct GetTopDmsForUserParams {
pub time_range: String,
pub page: Option<i32>,
pub per_page: Option<i32>,
}
Expand description
struct for passing parameters to the method get_top_dms_for_user
Fields§
§time_range: String
Time range can be "today", "7_day", or "28_day". - today
: threads with activity on the current day. - 7_day
: threads with activity in the last 7 days. - 28_day
: threads with activity in the last 28 days.
page: Option<i32>
The page to select.
per_page: Option<i32>
The number of items per page, up to a maximum of 200.
Trait Implementations§
Source§impl Clone for GetTopDmsForUserParams
impl Clone for GetTopDmsForUserParams
Source§fn clone(&self) -> GetTopDmsForUserParams
fn clone(&self) -> GetTopDmsForUserParams
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 moreSource§impl Debug for GetTopDmsForUserParams
impl Debug for GetTopDmsForUserParams
Source§impl Default for GetTopDmsForUserParams
impl Default for GetTopDmsForUserParams
Source§fn default() -> GetTopDmsForUserParams
fn default() -> GetTopDmsForUserParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetTopDmsForUserParams
impl RefUnwindSafe for GetTopDmsForUserParams
impl Send for GetTopDmsForUserParams
impl Sync for GetTopDmsForUserParams
impl Unpin for GetTopDmsForUserParams
impl UnwindSafe for GetTopDmsForUserParams
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