#[non_exhaustive]pub enum NoteMarker {
Root,
Reply,
Mention,
}Expand description
NIP-10 marker for an e tag.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for NoteMarker
impl Clone for NoteMarker
Source§fn clone(&self) -> NoteMarker
fn clone(&self) -> NoteMarker
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 moreimpl Copy for NoteMarker
Source§impl Debug for NoteMarker
impl Debug for NoteMarker
Source§impl Display for NoteMarker
impl Display for NoteMarker
impl Eq for NoteMarker
Source§impl FromStr for NoteMarker
impl FromStr for NoteMarker
Source§impl Hash for NoteMarker
impl Hash for NoteMarker
Source§impl Ord for NoteMarker
impl Ord for NoteMarker
Source§fn cmp(&self, other: &NoteMarker) -> Ordering
fn cmp(&self, other: &NoteMarker) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for NoteMarker
impl PartialEq for NoteMarker
Source§impl PartialOrd for NoteMarker
impl PartialOrd for NoteMarker
impl StructuralPartialEq for NoteMarker
Auto Trait Implementations§
impl Freeze for NoteMarker
impl RefUnwindSafe for NoteMarker
impl Send for NoteMarker
impl Sync for NoteMarker
impl Unpin for NoteMarker
impl UnsafeUnpin for NoteMarker
impl UnwindSafe for NoteMarker
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.