pub struct GetSystemParams {
pub secondary_array: bool,
pub tariffs: bool,
pub teams: bool,
pub monthly_estimates: bool,
pub donations: bool,
pub system_id: Option<u32>,
pub extended_data: bool,
}Expand description
Parameters for the get_system endpoint.
Fields§
§secondary_array: boolReturn information about the system’s secondary array if one is present.
tariffs: boolReturn information about the system’s tariffs.
teams: boolReturn a list of the system’s teams.
monthly_estimates: boolReturn monthly estimates for the system.
donations: boolReturn the system’s donation count.
system_id: Option<u32>System ID to retrieve information for.
If unset, the Client’s authenticated system is used.
Requires donation status.
extended_data: boolReturn extended data.
Implementations§
Source§impl GetSystemParams
impl GetSystemParams
Sourcepub const fn all() -> Self
pub const fn all() -> Self
Creates a new GetSystemParams with all fields set to true.
Sourcepub const fn all_for_system(system: u32) -> Self
pub const fn all_for_system(system: u32) -> Self
Creates a new GetSystemParams for the given system with all fields set to true.
Requires donation status.
Trait Implementations§
Source§impl Clone for GetSystemParams
impl Clone for GetSystemParams
Source§fn clone(&self) -> GetSystemParams
fn clone(&self) -> GetSystemParams
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 GetSystemParams
impl Debug for GetSystemParams
Source§impl Default for GetSystemParams
impl Default for GetSystemParams
Source§fn default() -> GetSystemParams
fn default() -> GetSystemParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetSystemParams
impl RefUnwindSafe for GetSystemParams
impl Send for GetSystemParams
impl Sync for GetSystemParams
impl Unpin for GetSystemParams
impl UnwindSafe for GetSystemParams
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