pub struct ProjectedIdentity(/* private fields */);Expand description
ProjectedIdentity
Stable, opaque output of one-way identity projection.
§Guarantees
- Deterministic
- Non-reversible
- Safe to expose externally
§Non-goals
- Does NOT provide secrecy, authentication, or authorization
- Does NOT imply ownership
- Does NOT preserve ordering
- Does NOT permit identity reconstruction
- Does NOT imply entity existence
Implementations§
Trait Implementations§
Source§impl CandidType for ProjectedIdentity
impl CandidType for ProjectedIdentity
Source§impl Clone for ProjectedIdentity
impl Clone for ProjectedIdentity
Source§fn clone(&self) -> ProjectedIdentity
fn clone(&self) -> ProjectedIdentity
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 ProjectedIdentity
impl Debug for ProjectedIdentity
Source§impl<'de> Deserialize<'de> for ProjectedIdentity
impl<'de> Deserialize<'de> for ProjectedIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectedIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProjectedIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ProjectedIdentity
impl Display for ProjectedIdentity
Source§impl Hash for ProjectedIdentity
impl Hash for ProjectedIdentity
Source§impl Ord for ProjectedIdentity
impl Ord for ProjectedIdentity
Source§fn cmp(&self, other: &ProjectedIdentity) -> Ordering
fn cmp(&self, other: &ProjectedIdentity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProjectedIdentity
impl PartialEq for ProjectedIdentity
Source§impl PartialOrd for ProjectedIdentity
impl PartialOrd for ProjectedIdentity
Source§impl Serialize for ProjectedIdentity
impl Serialize for ProjectedIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ProjectedIdentity
impl Eq for ProjectedIdentity
impl StructuralPartialEq for ProjectedIdentity
Auto Trait Implementations§
impl Freeze for ProjectedIdentity
impl RefUnwindSafe for ProjectedIdentity
impl Send for ProjectedIdentity
impl Sync for ProjectedIdentity
impl Unpin for ProjectedIdentity
impl UnsafeUnpin for ProjectedIdentity
impl UnwindSafe for ProjectedIdentity
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