pub struct InReplyTo {
pub event_id: OwnedEventId,
}
Available on crate feature
events
only.Expand description
Information about the event a “rich reply” is replying to.
Fields
event_id: OwnedEventId
The event being replied to.
Implementations
sourceimpl InReplyTo
impl InReplyTo
sourcepub fn new(event_id: OwnedEventId) -> Self
pub fn new(event_id: OwnedEventId) -> Self
Creates a new InReplyTo
with the given event ID.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for InReplyTo
impl<'de> Deserialize<'de> for InReplyTo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InReplyTo
impl Send for InReplyTo
impl Sync for InReplyTo
impl Unpin for InReplyTo
impl UnwindSafe for InReplyTo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more