pub enum PublicIdentityInterface {
Present {
public_identity: PublicIdentity,
},
Absent,
}Variants§
Implementations§
Source§impl PublicIdentityInterface
impl PublicIdentityInterface
pub fn new(public_identity: PublicIdentity) -> Self
pub fn bloom_filter_index(&self) -> Result<BFI>
pub fn public_identity(&self) -> Result<PublicIdentity>
Trait Implementations§
Source§impl Clone for PublicIdentityInterface
impl Clone for PublicIdentityInterface
Source§fn clone(&self) -> PublicIdentityInterface
fn clone(&self) -> PublicIdentityInterface
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 PublicIdentityInterface
impl Debug for PublicIdentityInterface
Source§impl Display for PublicIdentityInterface
impl Display for PublicIdentityInterface
Source§impl Hash for PublicIdentityInterface
impl Hash for PublicIdentityInterface
Source§impl Ord for PublicIdentityInterface
impl Ord for PublicIdentityInterface
Source§fn cmp(&self, other: &PublicIdentityInterface) -> Ordering
fn cmp(&self, other: &PublicIdentityInterface) -> 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 PublicIdentityInterface
impl PartialEq for PublicIdentityInterface
Source§impl PartialOrd for PublicIdentityInterface
impl PartialOrd for PublicIdentityInterface
impl Eq for PublicIdentityInterface
impl StructuralPartialEq for PublicIdentityInterface
Auto Trait Implementations§
impl Freeze for PublicIdentityInterface
impl RefUnwindSafe for PublicIdentityInterface
impl Send for PublicIdentityInterface
impl Sync for PublicIdentityInterface
impl Unpin for PublicIdentityInterface
impl UnwindSafe for PublicIdentityInterface
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