pub struct GetStatusParams {
pub date: Option<Date>,
pub time: Option<Time>,
pub ascending: bool,
pub limit: Option<u16>,
pub from: Option<Time>,
pub to: Option<Time>,
pub extended_data: bool,
pub system_id: Option<u32>,
}Expand description
Parameters for the get_status endpoint.
Fields§
§date: Option<Date>Date to retrieve status for.
time: Option<Time>Time to retrieve status for.
ascending: boolReturn history results in ascending order.
limit: Option<u16>Number of results to return when making a history request, up to a maximum of 288 (one day of data).
Defaults to 30.
from: Option<Time>If set, only statuses after this time will be returned.
to: Option<Time>If set, only statuses before this time will be returned.
extended_data: boolReturn extended data.
Requires donation status.
system_id: Option<u32>System ID to retrieve status for.
If unset, the Client’s authenticated system is used.
Requires donation status.
Trait Implementations§
Source§impl Clone for GetStatusParams
impl Clone for GetStatusParams
Source§fn clone(&self) -> GetStatusParams
fn clone(&self) -> GetStatusParams
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 GetStatusParams
impl Debug for GetStatusParams
Source§impl Default for GetStatusParams
impl Default for GetStatusParams
Source§fn default() -> GetStatusParams
fn default() -> GetStatusParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetStatusParams
impl RefUnwindSafe for GetStatusParams
impl Send for GetStatusParams
impl Sync for GetStatusParams
impl Unpin for GetStatusParams
impl UnwindSafe for GetStatusParams
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