pub struct InputRichMessageHtml {
pub rtl: bool,
pub noautolink: bool,
pub html: String,
pub files: Option<Vec<InputRichFile>>,
}Expand description
Generated from:
inputRichMessageHTML#dacb836a flags:# rtl:flags.0?true noautolink:flags.1?true html:string files:flags.2?Vector<InputRichFile> = InputRichMessageFields§
§rtl: bool§noautolink: bool§html: String§files: Option<Vec<InputRichFile>>Trait Implementations§
Source§impl Clone for InputRichMessageHtml
impl Clone for InputRichMessageHtml
Source§fn clone(&self) -> InputRichMessageHtml
fn clone(&self) -> InputRichMessageHtml
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 InputRichMessageHtml
impl Debug for InputRichMessageHtml
Source§impl Deserializable for InputRichMessageHtml
impl Deserializable for InputRichMessageHtml
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputRichMessageHtml> for InputRichMessage
impl From<InputRichMessageHtml> for InputRichMessage
Source§fn from(x: InputRichMessageHtml) -> Self
fn from(x: InputRichMessageHtml) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputRichMessageHtml
impl Identifiable for InputRichMessageHtml
Source§const CONSTRUCTOR_ID: u32 = 0xdacb836a
const CONSTRUCTOR_ID: u32 = 0xdacb836a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputRichMessageHtml
impl PartialEq for InputRichMessageHtml
Source§fn eq(&self, other: &InputRichMessageHtml) -> bool
fn eq(&self, other: &InputRichMessageHtml) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for InputRichMessageHtml
impl Serializable for InputRichMessageHtml
impl StructuralPartialEq for InputRichMessageHtml
Source§impl TryFrom<InputRichMessage> for InputRichMessageHtml
impl TryFrom<InputRichMessage> for InputRichMessageHtml
Source§type Error = InputRichMessage
type Error = InputRichMessage
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for InputRichMessageHtml
impl RefUnwindSafe for InputRichMessageHtml
impl Send for InputRichMessageHtml
impl Sync for InputRichMessageHtml
impl Unpin for InputRichMessageHtml
impl UnsafeUnpin for InputRichMessageHtml
impl UnwindSafe for InputRichMessageHtml
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