pub enum Mention<'a> {
Pubkey(&'a bech32_npub),
Event(&'a bech32_nevent),
Profile(&'a bech32_nprofile),
Note(&'a bech32_note),
Relay(&'a bech32_nrelay),
Secret(&'a bech32_nsec),
Addr(&'a bech32_naddr),
}
Variants§
Pubkey(&'a bech32_npub)
Event(&'a bech32_nevent)
Profile(&'a bech32_nprofile)
Note(&'a bech32_note)
Relay(&'a bech32_nrelay)
Secret(&'a bech32_nsec)
Addr(&'a bech32_naddr)
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Mention<'a>
impl<'a> RefUnwindSafe for Mention<'a>
impl<'a> !Send for Mention<'a>
impl<'a> !Sync for Mention<'a>
impl<'a> Unpin for Mention<'a>
impl<'a> UnwindSafe for Mention<'a>
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