pub struct SendText {
pub sf: Option<String>,
pub id: String,
pub text: String,
pub raw: Map<String, Value>,
}Expand description
send: submit text through a composer.
Fields§
§sf: Option<String>The surface.
id: StringThe field.
text: StringThe text.
raw: Map<String, Value>The event as received.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SendText
impl<'de> Deserialize<'de> for SendText
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
impl StructuralPartialEq for SendText
Auto Trait Implementations§
impl Freeze for SendText
impl RefUnwindSafe for SendText
impl Send for SendText
impl Sync for SendText
impl Unpin for SendText
impl UnsafeUnpin for SendText
impl UnwindSafe for SendText
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