pub struct RegisterCounts {
pub by_stage: Option<HashMap<String, i32>>,
pub total: Option<i32>,
}Fields§
§by_stage: Option<HashMap<String, i32>>ByStage counts formations per stage, keyed by the stage name.
total: Option<i32>Total is every formation in the register.
Implementations§
Source§impl RegisterCounts
impl RegisterCounts
pub fn new() -> RegisterCounts
Trait Implementations§
Source§impl Clone for RegisterCounts
impl Clone for RegisterCounts
Source§fn clone(&self) -> RegisterCounts
fn clone(&self) -> RegisterCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegisterCounts
impl Debug for RegisterCounts
Source§impl Default for RegisterCounts
impl Default for RegisterCounts
Source§fn default() -> RegisterCounts
fn default() -> RegisterCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisterCounts
impl<'de> Deserialize<'de> for RegisterCounts
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
Source§impl PartialEq for RegisterCounts
impl PartialEq for RegisterCounts
Source§impl Serialize for RegisterCounts
impl Serialize for RegisterCounts
impl StructuralPartialEq for RegisterCounts
Auto Trait Implementations§
impl Freeze for RegisterCounts
impl RefUnwindSafe for RegisterCounts
impl Send for RegisterCounts
impl Sync for RegisterCounts
impl Unpin for RegisterCounts
impl UnsafeUnpin for RegisterCounts
impl UnwindSafe for RegisterCounts
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