pub struct ReplyTo {
pub kind: Option<u16>,
pub entity: Option<String>,
pub external: Option<String>,
}Expand description
A comment’s parent: a Nostr event, or a scope outside Nostr (NIP-73).
Fields§
§kind: Option<u16>The parent’s kind, as its k tag says; None outside Nostr.
entity: Option<String>The parent as a nevent or naddr, when it’s an event a card can show.
external: Option<String>A scope outside Nostr, by its NIP-73 value: a URL, a #hashtag, and the like.
Trait Implementations§
impl StructuralPartialEq for ReplyTo
Auto Trait Implementations§
impl Forget for ReplyTo
impl Freeze for ReplyTo
impl Move for ReplyTo
impl RefUnwindSafe for ReplyTo
impl Send for ReplyTo
impl Sync for ReplyTo
impl Unpin for ReplyTo
impl UnsafeUnpin for ReplyTo
impl UnwindSafe for ReplyTo
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more