pub struct ReplyTo {
pub event_id: EventId,
pub relay_hint: Option<RelayUrl>,
}Available on crate feature
nip17 only.Expand description
Optional reply pointer: a NIP-10 e tag value built into the rumor.
Owned for the same reasons as Recipient.
Fields§
§event_id: EventIdEvent id this message is a reply to.
relay_hint: Option<RelayUrl>Optional relay hint surfaced as the third element of the e tag.
Trait Implementations§
impl Eq for ReplyTo
impl StructuralPartialEq for ReplyTo
Auto Trait Implementations§
impl Freeze 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
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> 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.