pub struct SendTextModel {
pub text: Option<String>,
pub hidden: Option<bool>,
}
Fields§
§text: Option<String>
Implementations§
Source§impl SendTextModel
impl SendTextModel
pub fn new() -> SendTextModel
Trait Implementations§
Source§impl Clone for SendTextModel
impl Clone for SendTextModel
Source§fn clone(&self) -> SendTextModel
fn clone(&self) -> SendTextModel
Returns a copy of the value. Read more
1.0.0 · 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 SendTextModel
impl Debug for SendTextModel
Source§impl Default for SendTextModel
impl Default for SendTextModel
Source§fn default() -> SendTextModel
fn default() -> SendTextModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendTextModel
impl<'de> Deserialize<'de> for SendTextModel
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 SendTextModel
impl PartialEq for SendTextModel
Source§impl Serialize for SendTextModel
impl Serialize for SendTextModel
impl StructuralPartialEq for SendTextModel
Auto Trait Implementations§
impl Freeze for SendTextModel
impl RefUnwindSafe for SendTextModel
impl Send for SendTextModel
impl Sync for SendTextModel
impl Unpin for SendTextModel
impl UnwindSafe for SendTextModel
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