pub struct InspectedEntry {
pub entry: RegistryEntry,
pub owner: OwnerEvidence,
}Expand description
What:
One registry entry with its owner evidence.
Why:
InspectedEntry.
In TS you’d write (pseudocode):
type InspectedEntry = { entry: TransactionRegistryEntry; owner: Owner };Fields§
§entry: RegistryEntryThe classified entry.
owner: OwnerEvidenceIts owner evidence.
Implementations§
Source§impl InspectedEntry
Methods over an inspected entry.
impl InspectedEntry
Methods over an inspected entry.
Sourcepub fn dead_owner(&self) -> Option<&TransactionOwner>
pub fn dead_owner(&self) -> Option<&TransactionOwner>
What: The owner record of a dead owner, or nothing. Why: Only dead owners are recovered.
In TS you’d write (pseudocode):
typeof owner !== 'string' && owner.liveness === 'dead' ? owner.record : undefinedTrait Implementations§
Source§impl Clone for InspectedEntry
impl Clone for InspectedEntry
Source§impl Debug for InspectedEntry
impl Debug for InspectedEntry
impl Eq for InspectedEntry
Source§impl PartialEq for InspectedEntry
impl PartialEq for InspectedEntry
impl StructuralPartialEq for InspectedEntry
Auto Trait Implementations§
impl Freeze for InspectedEntry
impl RefUnwindSafe for InspectedEntry
impl Send for InspectedEntry
impl Sync for InspectedEntry
impl Unpin for InspectedEntry
impl UnsafeUnpin for InspectedEntry
impl UnwindSafe for InspectedEntry
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more