pub struct MemberRecord {
pub did: String,
pub role: String,
pub label: Option<String>,
pub joined_at: DateTime<Utc>,
pub status_list_index: Option<u32>,
pub current_vmc_id: Option<String>,
pub personhood: bool,
pub joined_via_invitation: bool,
pub extensions: Value,
}Expand description
A single member of the community, as returned by GET /members. Mirrors the
VTC’s MemberResponse (the fields a fleet/operator typically needs);
unrecognised fields in the response are ignored.
Fields§
§did: StringThe member’s DID (for a fleet, the managed VTA’s DID).
role: StringThe member’s role on the wire ("admin", "moderator", "member",
"custom:…", …).
label: Option<String>§joined_at: DateTime<Utc>§status_list_index: Option<u32>Index of the member’s revocation slot in the community status list, when allocated.
current_vmc_id: Option<String>Id of the member’s current membership credential (VMC), if issued.
personhood: bool§joined_via_invitation: bool§extensions: ValueCommunity-defined extensions (opaque JSON). A fleet manager can stash
per-member operational state here — e.g. a fleet_index — at enrollment.
Trait Implementations§
Source§impl Clone for MemberRecord
impl Clone for MemberRecord
Source§fn clone(&self) -> MemberRecord
fn clone(&self) -> MemberRecord
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 MemberRecord
impl Debug for MemberRecord
Source§impl<'de> Deserialize<'de> for MemberRecord
impl<'de> Deserialize<'de> for MemberRecord
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 PartialEq for MemberRecord
impl PartialEq for MemberRecord
Source§impl Serialize for MemberRecord
impl Serialize for MemberRecord
impl StructuralPartialEq for MemberRecord
Auto Trait Implementations§
impl Freeze for MemberRecord
impl RefUnwindSafe for MemberRecord
impl Send for MemberRecord
impl Sync for MemberRecord
impl Unpin for MemberRecord
impl UnsafeUnpin for MemberRecord
impl UnwindSafe for MemberRecord
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