pub struct IdentityChangeHistory(_);
Expand description
Full history of [Identity
] changes. History and corresponding secret keys are enough to recreate [Identity
]
Implementations
sourceimpl IdentityChangeHistory
impl IdentityChangeHistory
pub fn compare(&self, known: &Self) -> IdentityHistoryComparison
pub async fn compute_identity_id(
&self,
vault: &impl IdentityVault
) -> Result<IdentityIdentifier>
pub fn get_public_key(&self, label: &str) -> Result<PublicKey>
pub fn get_first_root_public_key(&self) -> Result<PublicKey>
pub fn get_root_public_key(&self) -> Result<PublicKey>
pub async fn verify_all_existing_events(
&self,
vault: &impl IdentityVault
) -> Result<bool>
sourcepub fn check_entire_consistency(&self) -> bool
pub fn check_entire_consistency(&self) -> bool
Check consistency of events that are been added
Trait Implementations
sourceimpl AsRef<[IdentityChangeEvent]> for IdentityChangeHistory
impl AsRef<[IdentityChangeEvent]> for IdentityChangeHistory
sourcefn as_ref(&self) -> &[IdentityChangeEvent]
fn as_ref(&self) -> &[IdentityChangeEvent]
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for IdentityChangeHistory
impl Clone for IdentityChangeHistory
sourcefn clone(&self) -> IdentityChangeHistory
fn clone(&self) -> IdentityChangeHistory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IdentityChangeHistory
impl Debug for IdentityChangeHistory
sourceimpl<'de> Deserialize<'de> for IdentityChangeHistory
impl<'de> Deserialize<'de> for IdentityChangeHistory
sourcefn 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
sourceimpl Serialize for IdentityChangeHistory
impl Serialize for IdentityChangeHistory
Auto Trait Implementations
impl RefUnwindSafe for IdentityChangeHistory
impl Send for IdentityChangeHistory
impl Sync for IdentityChangeHistory
impl Unpin for IdentityChangeHistory
impl UnwindSafe for IdentityChangeHistory
Blanket Implementations
sourceimpl<D> AsyncTryClone for D where
D: Clone + Sync,
impl<D> AsyncTryClone for D where
D: Clone + Sync,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Decodable for T where
T: DeserializeOwned,
impl<T> Decodable for T where
T: DeserializeOwned,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more