pub struct IntegrityEntityIdentity { /* private fields */ }Expand description
Stable entity identity projected into integrity responses.
Implementations§
Source§impl IntegrityEntityIdentity
impl IntegrityEntityIdentity
Sourcepub fn for_entity<E: EntityKind>() -> Self
pub fn for_entity<E: EntityKind>() -> Self
Build a selector for one generated IcyDB entity.
The selector is not runtime authority. Integrity execution resolves the current accepted entity and requires all three identity components to match before inspection.
Sourcepub const fn entity_tag(&self) -> u64
pub const fn entity_tag(&self) -> u64
Return the stable accepted entity tag.
Sourcepub const fn entity_path(&self) -> &str
pub const fn entity_path(&self) -> &str
Borrow the accepted entity path.
Sourcepub const fn store_path(&self) -> &str
pub const fn store_path(&self) -> &str
Borrow the accepted store path.
Trait Implementations§
Source§impl CandidType for IntegrityEntityIdentity
impl CandidType for IntegrityEntityIdentity
Source§impl Clone for IntegrityEntityIdentity
impl Clone for IntegrityEntityIdentity
Source§fn clone(&self) -> IntegrityEntityIdentity
fn clone(&self) -> IntegrityEntityIdentity
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 IntegrityEntityIdentity
impl Debug for IntegrityEntityIdentity
Source§impl<'de> Deserialize<'de> for IntegrityEntityIdentity
impl<'de> Deserialize<'de> for IntegrityEntityIdentity
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
impl Eq for IntegrityEntityIdentity
Source§impl PartialEq for IntegrityEntityIdentity
impl PartialEq for IntegrityEntityIdentity
impl StructuralPartialEq for IntegrityEntityIdentity
Auto Trait Implementations§
impl Freeze for IntegrityEntityIdentity
impl RefUnwindSafe for IntegrityEntityIdentity
impl Send for IntegrityEntityIdentity
impl Sync for IntegrityEntityIdentity
impl Unpin for IntegrityEntityIdentity
impl UnsafeUnpin for IntegrityEntityIdentity
impl UnwindSafe for IntegrityEntityIdentity
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