pub struct PeerIdentityV1 {
pub tenant_id: String,
pub cluster_id: String,
pub core_id: String,
pub instance_id: String,
pub kind: String,
pub protocol_version: u16,
pub app_id: String,
pub app_family: String,
pub sync_group: String,
pub runtime_contract: u16,
pub node_id: String,
}Expand description
Identity fields carried by a V1 peer advertisement.
Fields§
§tenant_id: StringTenant isolation boundary.
cluster_id: StringCluster isolation boundary.
core_id: StringStable logical core identity.
instance_id: StringUnique running instance identity.
kind: StringGeneric core role.
protocol_version: u16Distributed protocol version.
app_id: StringApplication identity.
app_family: StringCompatible application family.
sync_group: StringSync compatibility group.
runtime_contract: u16Runtime contract version.
node_id: StringRuntime node identity.
Trait Implementations§
Source§impl Clone for PeerIdentityV1
impl Clone for PeerIdentityV1
Source§fn clone(&self) -> PeerIdentityV1
fn clone(&self) -> PeerIdentityV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PeerIdentityV1
impl Debug for PeerIdentityV1
Source§impl<'de> Deserialize<'de> for PeerIdentityV1
impl<'de> Deserialize<'de> for PeerIdentityV1
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeerIdentityV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeerIdentityV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PeerIdentityV1
Source§impl PartialEq for PeerIdentityV1
impl PartialEq for PeerIdentityV1
Source§impl Serialize for PeerIdentityV1
impl Serialize for PeerIdentityV1
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PeerIdentityV1
Auto Trait Implementations§
impl Freeze for PeerIdentityV1
impl RefUnwindSafe for PeerIdentityV1
impl Send for PeerIdentityV1
impl Sync for PeerIdentityV1
impl Unpin for PeerIdentityV1
impl UnsafeUnpin for PeerIdentityV1
impl UnwindSafe for PeerIdentityV1
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