pub struct BlockEntry {
pub at: String,
pub note: Option<String>,
}Expand description
One block-list entry: when it was added + an optional operator note.
Fields§
§at: String§note: Option<String>Trait Implementations§
Source§impl Clone for BlockEntry
impl Clone for BlockEntry
Source§fn clone(&self) -> BlockEntry
fn clone(&self) -> BlockEntry
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 BlockEntry
impl Debug for BlockEntry
impl Eq for BlockEntry
Source§impl PartialEq for BlockEntry
impl PartialEq for BlockEntry
Source§fn eq(&self, other: &BlockEntry) -> bool
fn eq(&self, other: &BlockEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockEntry
Auto Trait Implementations§
impl Freeze for BlockEntry
impl RefUnwindSafe for BlockEntry
impl Send for BlockEntry
impl Sync for BlockEntry
impl Unpin for BlockEntry
impl UnsafeUnpin for BlockEntry
impl UnwindSafe for BlockEntry
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§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.