pub struct SpokeSummary {
pub spoke_state_counts: Option<Vec<SpokeStateCount>>,
pub spoke_state_reason_counts: Option<Vec<SpokeStateReasonCount>>,
pub spoke_type_counts: Option<Vec<SpokeTypeCount>>,
}Expand description
Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.
This type is not used in any activity, and only used as part of another schema.
Fields§
§spoke_state_counts: Option<Vec<SpokeStateCount>>Output only. Counts the number of spokes that are in each state and associated with a given hub.
spoke_state_reason_counts: Option<Vec<SpokeStateReasonCount>>Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.
spoke_type_counts: Option<Vec<SpokeTypeCount>>Output only. Counts the number of spokes of each type that are associated with a specific hub.
Trait Implementations§
Source§impl Clone for SpokeSummary
impl Clone for SpokeSummary
Source§fn clone(&self) -> SpokeSummary
fn clone(&self) -> SpokeSummary
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 SpokeSummary
impl Debug for SpokeSummary
Source§impl Default for SpokeSummary
impl Default for SpokeSummary
Source§fn default() -> SpokeSummary
fn default() -> SpokeSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpokeSummary
impl<'de> Deserialize<'de> for SpokeSummary
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 Serialize for SpokeSummary
impl Serialize for SpokeSummary
impl Part for SpokeSummary
Auto Trait Implementations§
impl Freeze for SpokeSummary
impl RefUnwindSafe for SpokeSummary
impl Send for SpokeSummary
impl Sync for SpokeSummary
impl Unpin for SpokeSummary
impl UnwindSafe for SpokeSummary
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