pub struct SpokeStateReasonCount {
pub count: Option<i64>,
pub state_reason_code: Option<String>,
}Expand description
The number of spokes in the hub that are inactive for this reason.
This type is not used in any activity, and only used as part of another schema.
Fields§
§count: Option<i64>Output only. The total number of spokes that are inactive for a particular reason and associated with a given hub.
state_reason_code: Option<String>Output only. The reason that a spoke is inactive.
Trait Implementations§
Source§impl Clone for SpokeStateReasonCount
impl Clone for SpokeStateReasonCount
Source§fn clone(&self) -> SpokeStateReasonCount
fn clone(&self) -> SpokeStateReasonCount
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 SpokeStateReasonCount
impl Debug for SpokeStateReasonCount
Source§impl Default for SpokeStateReasonCount
impl Default for SpokeStateReasonCount
Source§fn default() -> SpokeStateReasonCount
fn default() -> SpokeStateReasonCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpokeStateReasonCount
impl<'de> Deserialize<'de> for SpokeStateReasonCount
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 SpokeStateReasonCount
impl Serialize for SpokeStateReasonCount
impl Part for SpokeStateReasonCount
Auto Trait Implementations§
impl Freeze for SpokeStateReasonCount
impl RefUnwindSafe for SpokeStateReasonCount
impl Send for SpokeStateReasonCount
impl Sync for SpokeStateReasonCount
impl Unpin for SpokeStateReasonCount
impl UnwindSafe for SpokeStateReasonCount
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