pub struct BlackholedIdentity<Reason> {
pub identity: IdentityHash,
pub source: IdentityHash,
pub expiry: BlackholeExpiry,
pub reason: Option<Reason>,
}Fields§
§identity: IdentityHash§source: IdentityHash§expiry: BlackholeExpiry§reason: Option<Reason>Trait Implementations§
Source§impl<Reason> Clone for BlackholedIdentity<Reason>where
Reason: Clone,
impl<Reason> Clone for BlackholedIdentity<Reason>where
Reason: Clone,
Source§fn clone(&self) -> BlackholedIdentity<Reason>
fn clone(&self) -> BlackholedIdentity<Reason>
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<Reason> Debug for BlackholedIdentity<Reason>where
Reason: Debug,
impl<Reason> Debug for BlackholedIdentity<Reason>where
Reason: Debug,
impl<Reason> Eq for BlackholedIdentity<Reason>where
Reason: Eq,
Source§impl From<RnsBlackholeEntry> for BlackholedIdentity<String>
impl From<RnsBlackholeEntry> for BlackholedIdentity<String>
Source§fn from(entry: RnsBlackholeEntry) -> BlackholedIdentity<String>
fn from(entry: RnsBlackholeEntry) -> BlackholedIdentity<String>
Converts to this type from the input type.
Source§impl<Reason> PartialEq for BlackholedIdentity<Reason>where
Reason: PartialEq,
impl<Reason> PartialEq for BlackholedIdentity<Reason>where
Reason: PartialEq,
impl<Reason> StructuralPartialEq for BlackholedIdentity<Reason>where
Reason: PartialEq,
Auto Trait Implementations§
impl<Reason> Freeze for BlackholedIdentity<Reason>where
Reason: Freeze,
impl<Reason> RefUnwindSafe for BlackholedIdentity<Reason>where
Reason: RefUnwindSafe,
impl<Reason> Send for BlackholedIdentity<Reason>where
Reason: Send,
impl<Reason> Sync for BlackholedIdentity<Reason>where
Reason: Sync,
impl<Reason> Unpin for BlackholedIdentity<Reason>where
Reason: Unpin,
impl<Reason> UnsafeUnpin for BlackholedIdentity<Reason>where
Reason: UnsafeUnpin,
impl<Reason> UnwindSafe for BlackholedIdentity<Reason>where
Reason: UnwindSafe,
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