#[non_exhaustive]pub struct HubStatusEntry {
pub count: i32,
pub group_by: String,
pub psc_propagation_status: Option<PscPropagationStatus>,
/* private fields */
}Expand description
A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.count: i32The number of propagated Private Service Connect connections with this
status. If the group_by field was not set in the request message, the
value of this field is 1.
group_by: StringThe fields that this entry is grouped by. This has the same value as the
group_by field in the request message.
psc_propagation_status: Option<PscPropagationStatus>The Private Service Connect propagation status.
Implementations§
Source§impl HubStatusEntry
impl HubStatusEntry
pub fn new() -> Self
Sourcepub fn set_group_by<T: Into<String>>(self, v: T) -> Self
pub fn set_group_by<T: Into<String>>(self, v: T) -> Self
Sets the value of group_by.
Sourcepub fn set_psc_propagation_status<T>(self, v: T) -> Selfwhere
T: Into<PscPropagationStatus>,
pub fn set_psc_propagation_status<T>(self, v: T) -> Selfwhere
T: Into<PscPropagationStatus>,
Sets the value of psc_propagation_status.
Sourcepub fn set_or_clear_psc_propagation_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<PscPropagationStatus>,
pub fn set_or_clear_psc_propagation_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<PscPropagationStatus>,
Sets or clears the value of psc_propagation_status.
Trait Implementations§
Source§impl Clone for HubStatusEntry
impl Clone for HubStatusEntry
Source§fn clone(&self) -> HubStatusEntry
fn clone(&self) -> HubStatusEntry
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 HubStatusEntry
impl Debug for HubStatusEntry
Source§impl Default for HubStatusEntry
impl Default for HubStatusEntry
Source§fn default() -> HubStatusEntry
fn default() -> HubStatusEntry
Returns the “default value” for a type. Read more
Source§impl Message for HubStatusEntry
impl Message for HubStatusEntry
Source§impl PartialEq for HubStatusEntry
impl PartialEq for HubStatusEntry
impl StructuralPartialEq for HubStatusEntry
Auto Trait Implementations§
impl Freeze for HubStatusEntry
impl RefUnwindSafe for HubStatusEntry
impl Send for HubStatusEntry
impl Sync for HubStatusEntry
impl Unpin for HubStatusEntry
impl UnwindSafe for HubStatusEntry
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