pub struct Supply {
pub timestamp: Timestamp,
pub region: Region,
pub utilisation: f32,
pub power_output: u64,
pub power_input: u64,
pub average_power_output: u32,
pub average_power_input: u32,
pub average_net_power: i32,
pub systems_out: u32,
pub systems_in: u32,
pub total_size: u64,
pub average_size: Option<u32>,
}Expand description
Supply and demand information for a particular region.
Returned by the get_supply endpoint.
Fields§
§timestamp: TimestampTimestamp for the aggregated data.
region: RegionThe region these data are for.
utilisation: f32Utilisation as a percentage.
power_output: u64Total power output in watts.
power_input: u64Total power input in watts.
average_power_output: u32Average power output in watts.
average_power_input: u32Average power input in watts.
average_net_power: i32Average net power in watts.
systems_out: u32Systems outputting power(?).
systems_in: u32Systems consuming power(?).
total_size: u64Total size of this region’s systems in watts.
average_size: Option<u32>Average size of this region’s systems in watts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Supply
impl<'de> Deserialize<'de> for Supply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Supply
impl RefUnwindSafe for Supply
impl Send for Supply
impl Sync for Supply
impl Unpin for Supply
impl UnwindSafe for Supply
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