#[non_exhaustive]pub struct ConnectPeerAssociation { /* private fields */ }
Expand description
Describes a core network Connect peer association.
Implementations§
source§impl ConnectPeerAssociation
impl ConnectPeerAssociation
sourcepub fn connect_peer_id(&self) -> Option<&str>
pub fn connect_peer_id(&self) -> Option<&str>
The ID of the Connect peer.
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn state(&self) -> Option<&ConnectPeerAssociationState>
pub fn state(&self) -> Option<&ConnectPeerAssociationState>
The state of the Connect peer association.
source§impl ConnectPeerAssociation
impl ConnectPeerAssociation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConnectPeerAssociation
.
Trait Implementations§
source§impl Clone for ConnectPeerAssociation
impl Clone for ConnectPeerAssociation
source§fn clone(&self) -> ConnectPeerAssociation
fn clone(&self) -> ConnectPeerAssociation
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 ConnectPeerAssociation
impl Debug for ConnectPeerAssociation
source§impl PartialEq<ConnectPeerAssociation> for ConnectPeerAssociation
impl PartialEq<ConnectPeerAssociation> for ConnectPeerAssociation
source§fn eq(&self, other: &ConnectPeerAssociation) -> bool
fn eq(&self, other: &ConnectPeerAssociation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.