pub struct MemberReplica {
pub record: EntityId,
pub app: Option<String>,
pub device: Option<String>,
pub endpoint: Option<[u8; 32]>,
pub signing: VerifyingKey,
pub revoked: bool,
pub dropped: bool,
pub ai_agent: bool,
pub this: bool,
pub holds_secrets: bool,
pub asks_for_secrets: bool,
pub secrets_from: Option<EntityId>,
}Expand description
A replica that a shared space lists for a member.
Fields§
§record: EntityIdIts record in the space.
app: Option<String>The name of its app.
device: Option<String>The name of its device.
endpoint: Option<[u8; 32]>Its endpoint ID, which the others connect to, if its record has one.
signing: VerifyingKeyIts verifying key.
revoked: boolWhether the space revoked it.
dropped: boolWhether it dropped the space: its choice that stands there does not hold it (technical design).
ai_agent: boolWhether it is an AI agent’s, which every member sees.
this: boolWhether it is this replica.
holds_secrets: boolWhether it holds the space’s secrets, as given to it by the replica it asked, or as it set them up.
asks_for_secrets: boolWhether it asks another replica for the space’s secrets, which has not given them.
secrets_from: Option<EntityId>The replica that it asked for the space’s secrets, if it asked one.
Trait Implementations§
Source§impl Clone for MemberReplica
impl Clone for MemberReplica
Source§impl Debug for MemberReplica
impl Debug for MemberReplica
impl Eq for MemberReplica
Source§impl PartialEq for MemberReplica
impl PartialEq for MemberReplica
impl StructuralPartialEq for MemberReplica
Auto Trait Implementations§
impl Forget for MemberReplica
impl Freeze for MemberReplica
impl Move for MemberReplica
impl RefUnwindSafe for MemberReplica
impl Send for MemberReplica
impl Sync for MemberReplica
impl Unpin for MemberReplica
impl UnsafeUnpin for MemberReplica
impl UnwindSafe for MemberReplica
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.