pub struct IdentityEvent {
pub did: Box<str>,
pub handle: Box<str>,
pub is_active: bool,
pub status: IdentityStatus,
}Expand description
An identity change event from TAP.
Contains information about handle or account status changes.
Fields§
§did: Box<str>Actor DID.
handle: Box<str>Current handle for the account.
is_active: boolWhether the account is currently active.
status: IdentityStatusAccount status.
Trait Implementations§
Source§impl Clone for IdentityEvent
impl Clone for IdentityEvent
Source§fn clone(&self) -> IdentityEvent
fn clone(&self) -> IdentityEvent
Returns a duplicate 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 IdentityEvent
impl Debug for IdentityEvent
Source§impl<'de> Deserialize<'de> for IdentityEvent
impl<'de> Deserialize<'de> for IdentityEvent
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
Auto Trait Implementations§
impl Freeze for IdentityEvent
impl RefUnwindSafe for IdentityEvent
impl Send for IdentityEvent
impl Sync for IdentityEvent
impl Unpin for IdentityEvent
impl UnsafeUnpin for IdentityEvent
impl UnwindSafe for IdentityEvent
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