#[non_exhaustive]pub struct PscPropagationStatus {
pub source_spoke: String,
pub source_group: String,
pub source_forwarding_rule: String,
pub target_spoke: String,
pub target_group: String,
pub code: Code,
pub message: String,
/* private fields */
}Expand description
The status of one or more propagated Private Service Connect connections in a hub.
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.source_spoke: StringThe name of the spoke that the source forwarding rule belongs to.
source_group: StringThe name of the group that the source spoke belongs to.
source_forwarding_rule: StringThe name of the forwarding rule exported to the hub.
target_spoke: StringThe name of the spoke that the source forwarding rule propagates to.
target_group: StringThe name of the group that the target spoke belongs to.
code: CodeThe propagation status.
message: StringThe human-readable summary of the Private Service Connect connection propagation status.
Implementations§
Source§impl PscPropagationStatus
impl PscPropagationStatus
pub fn new() -> Self
Sourcepub fn set_source_spoke<T: Into<String>>(self, v: T) -> Self
pub fn set_source_spoke<T: Into<String>>(self, v: T) -> Self
Sets the value of source_spoke.
Sourcepub fn set_source_group<T: Into<String>>(self, v: T) -> Self
pub fn set_source_group<T: Into<String>>(self, v: T) -> Self
Sets the value of source_group.
Sourcepub fn set_source_forwarding_rule<T: Into<String>>(self, v: T) -> Self
pub fn set_source_forwarding_rule<T: Into<String>>(self, v: T) -> Self
Sets the value of source_forwarding_rule.
Sourcepub fn set_target_spoke<T: Into<String>>(self, v: T) -> Self
pub fn set_target_spoke<T: Into<String>>(self, v: T) -> Self
Sets the value of target_spoke.
Sourcepub fn set_target_group<T: Into<String>>(self, v: T) -> Self
pub fn set_target_group<T: Into<String>>(self, v: T) -> Self
Sets the value of target_group.
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Trait Implementations§
Source§impl Clone for PscPropagationStatus
impl Clone for PscPropagationStatus
Source§fn clone(&self) -> PscPropagationStatus
fn clone(&self) -> PscPropagationStatus
Returns a copy 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 PscPropagationStatus
impl Debug for PscPropagationStatus
Source§impl Default for PscPropagationStatus
impl Default for PscPropagationStatus
Source§fn default() -> PscPropagationStatus
fn default() -> PscPropagationStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PscPropagationStatuswhere
PscPropagationStatus: Default,
impl<'de> Deserialize<'de> for PscPropagationStatuswhere
PscPropagationStatus: Default,
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 Message for PscPropagationStatus
impl Message for PscPropagationStatus
Source§impl PartialEq for PscPropagationStatus
impl PartialEq for PscPropagationStatus
Source§impl Serialize for PscPropagationStatus
impl Serialize for PscPropagationStatus
impl StructuralPartialEq for PscPropagationStatus
Auto Trait Implementations§
impl Freeze for PscPropagationStatus
impl RefUnwindSafe for PscPropagationStatus
impl Send for PscPropagationStatus
impl Sync for PscPropagationStatus
impl Unpin for PscPropagationStatus
impl UnwindSafe for PscPropagationStatus
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