pub struct InputRichMessageMarkdown {
pub rtl: bool,
pub noautolink: bool,
pub markdown: String,
pub files: Option<Vec<InputRichFile>>,
}Expand description
Generated from:
inputRichMessageMarkdown#4b572c flags:# rtl:flags.0?true noautolink:flags.1?true markdown:string files:flags.2?Vector<InputRichFile> = InputRichMessageFields§
§rtl: bool§noautolink: bool§markdown: String§files: Option<Vec<InputRichFile>>Trait Implementations§
Source§impl Clone for InputRichMessageMarkdown
impl Clone for InputRichMessageMarkdown
Source§fn clone(&self) -> InputRichMessageMarkdown
fn clone(&self) -> InputRichMessageMarkdown
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 InputRichMessageMarkdown
impl Debug for InputRichMessageMarkdown
Source§impl Deserializable for InputRichMessageMarkdown
impl Deserializable for InputRichMessageMarkdown
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<InputRichMessageMarkdown> for InputRichMessage
impl From<InputRichMessageMarkdown> for InputRichMessage
Source§fn from(x: InputRichMessageMarkdown) -> Self
fn from(x: InputRichMessageMarkdown) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputRichMessageMarkdown
impl Identifiable for InputRichMessageMarkdown
Source§const CONSTRUCTOR_ID: u32 = 0x004b572c
const CONSTRUCTOR_ID: u32 = 0x004b572c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputRichMessageMarkdown
impl PartialEq for InputRichMessageMarkdown
Source§fn eq(&self, other: &InputRichMessageMarkdown) -> bool
fn eq(&self, other: &InputRichMessageMarkdown) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputRichMessageMarkdown
Source§impl TryFrom<InputRichMessage> for InputRichMessageMarkdown
impl TryFrom<InputRichMessage> for InputRichMessageMarkdown
Source§type Error = InputRichMessage
type Error = InputRichMessage
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for InputRichMessageMarkdown
impl RefUnwindSafe for InputRichMessageMarkdown
impl Send for InputRichMessageMarkdown
impl Sync for InputRichMessageMarkdown
impl Unpin for InputRichMessageMarkdown
impl UnsafeUnpin for InputRichMessageMarkdown
impl UnwindSafe for InputRichMessageMarkdown
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