pub struct ParticipantSummary {
pub id: ParticipantId,
pub label: Option<String>,
}Expand description
A directory-listable summary of a registered participant: enough to
list it, and no more. Deliberately excludes ParticipantRecord’s
secret_digest, may_send, may_read and operator – a directory
answers “who exists”, never “what may they do” or anything that would
help forge one, and a type that structurally has no secret_digest
field cannot leak one even by accident, regardless of what
MailStore::list_participants’s implementation does internally. See
mail4agent_api::DirectoryEntry, the wire type this is assembled into.
Fields§
§id: ParticipantId§label: Option<String>Trait Implementations§
Source§impl Clone for ParticipantSummary
impl Clone for ParticipantSummary
Source§impl Debug for ParticipantSummary
impl Debug for ParticipantSummary
impl Eq for ParticipantSummary
Source§impl PartialEq for ParticipantSummary
impl PartialEq for ParticipantSummary
impl StructuralPartialEq for ParticipantSummary
Auto Trait Implementations§
impl Freeze for ParticipantSummary
impl RefUnwindSafe for ParticipantSummary
impl Send for ParticipantSummary
impl Sync for ParticipantSummary
impl Unpin for ParticipantSummary
impl UnsafeUnpin for ParticipantSummary
impl UnwindSafe for ParticipantSummary
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