pub struct SendReply {
pub ok: bool,
pub room: Option<String>,
pub event_id: Option<String>,
pub error: Option<String>,
}Expand description
The answer to one SendRequest.
Fields§
§ok: boolWhether the text was accepted by the homeserver.
room: Option<String>DM room id.
event_id: Option<String>Matrix event id of the sent text.
error: Option<String>Why it failed. No secrets.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SendReply
impl<'de> Deserialize<'de> for SendReply
Source§fn 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 Freeze for SendReply
impl RefUnwindSafe for SendReply
impl Send for SendReply
impl Sync for SendReply
impl Unpin for SendReply
impl UnsafeUnpin for SendReply
impl UnwindSafe for SendReply
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