pub struct MessageReportOption {
pub text: String,
pub option: Vec<u8>,
}Expand description
Generated from:
messageReportOption#7903e3d9 text:string option:bytes = MessageReportOptionFields§
§text: String§option: Vec<u8>Trait Implementations§
Source§impl Clone for MessageReportOption
impl Clone for MessageReportOption
Source§fn clone(&self) -> MessageReportOption
fn clone(&self) -> MessageReportOption
Returns a duplicate 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 MessageReportOption
impl Debug for MessageReportOption
Source§impl Deserializable for MessageReportOption
impl Deserializable for MessageReportOption
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<MessageReportOption> for MessageReportOption
impl From<MessageReportOption> for MessageReportOption
Source§fn from(x: MessageReportOption) -> Self
fn from(x: MessageReportOption) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageReportOption
impl Identifiable for MessageReportOption
Source§const CONSTRUCTOR_ID: u32 = 0x7903e3d9
const CONSTRUCTOR_ID: u32 = 0x7903e3d9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageReportOption
impl PartialEq for MessageReportOption
Source§impl Serializable for MessageReportOption
impl Serializable for MessageReportOption
Source§impl TryFrom<MessageReportOption> for MessageReportOption
impl TryFrom<MessageReportOption> for MessageReportOption
Source§type Error = MessageReportOption
type Error = MessageReportOption
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageReportOption
Auto Trait Implementations§
impl Freeze for MessageReportOption
impl RefUnwindSafe for MessageReportOption
impl Send for MessageReportOption
impl Sync for MessageReportOption
impl Unpin for MessageReportOption
impl UnsafeUnpin for MessageReportOption
impl UnwindSafe for MessageReportOption
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