pub struct SendTextEvent {
pub to: String,
pub message: String,
pub sent: bool,
}Fields§
§to: String§message: String§sent: boolTrait Implementations§
Source§impl Clone for SendTextEvent
impl Clone for SendTextEvent
Source§fn clone(&self) -> SendTextEvent
fn clone(&self) -> SendTextEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SendTextEvent
impl Debug for SendTextEvent
Source§impl<'de> Deserialize<'de> for SendTextEvent
impl<'de> Deserialize<'de> for SendTextEvent
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
Source§impl PartialEq for SendTextEvent
impl PartialEq for SendTextEvent
Source§fn eq(&self, other: &SendTextEvent) -> bool
fn eq(&self, other: &SendTextEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendTextEvent
impl Serialize for SendTextEvent
impl StructuralPartialEq for SendTextEvent
Auto Trait Implementations§
impl Freeze for SendTextEvent
impl RefUnwindSafe for SendTextEvent
impl Send for SendTextEvent
impl Sync for SendTextEvent
impl Unpin for SendTextEvent
impl UnsafeUnpin for SendTextEvent
impl UnwindSafe for SendTextEvent
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