pub struct GetOutputParams {
pub date_from: Option<Date>,
pub date_to: Option<Date>,
pub limit: Option<u8>,
pub system_id: Option<u32>,
pub insolation: bool,
pub time_of_export: bool,
}Expand description
Parameters for the get_outputs,
get_aggregate_outputs,
and get_team_outputs endpoints.
Fields§
§date_from: Option<Date>Date to retrieve outputs from.
date_to: Option<Date>Date to retrieve outputs to.
limit: Option<u8>Maximum number of outputs to retrieve. Limited to 50 for non-donors and 150 for donors.
system_id: Option<u32>System ID to retrieve outputs for.
If unset, the Client’s authenticated system is used.
Requires donation status.
insolation: boolRetrieve insolation data. Not supported for team or aggregate outputs.
Requires donation status.
time_of_export: boolRetrieve time of export data. Not supported for team outputs.
Requires donation status.
Trait Implementations§
Source§impl Clone for GetOutputParams
impl Clone for GetOutputParams
Source§fn clone(&self) -> GetOutputParams
fn clone(&self) -> GetOutputParams
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 GetOutputParams
impl Debug for GetOutputParams
Source§impl Default for GetOutputParams
impl Default for GetOutputParams
Source§fn default() -> GetOutputParams
fn default() -> GetOutputParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetOutputParams
impl RefUnwindSafe for GetOutputParams
impl Send for GetOutputParams
impl Sync for GetOutputParams
impl Unpin for GetOutputParams
impl UnwindSafe for GetOutputParams
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