pub struct ReportResultChooseOption {
pub title: String,
pub options: Vec<MessageReportOption>,
}Expand description
Generated from:
reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResultFields§
§title: String§options: Vec<MessageReportOption>Trait Implementations§
Source§impl Clone for ReportResultChooseOption
impl Clone for ReportResultChooseOption
Source§fn clone(&self) -> ReportResultChooseOption
fn clone(&self) -> ReportResultChooseOption
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 ReportResultChooseOption
impl Debug for ReportResultChooseOption
Source§impl Deserializable for ReportResultChooseOption
impl Deserializable for ReportResultChooseOption
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<ReportResultChooseOption> for ReportResult
impl From<ReportResultChooseOption> for ReportResult
Source§fn from(x: ReportResultChooseOption) -> Self
fn from(x: ReportResultChooseOption) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ReportResultChooseOption
impl Identifiable for ReportResultChooseOption
Source§const CONSTRUCTOR_ID: u32 = 0xf0e4e0b6
const CONSTRUCTOR_ID: u32 = 0xf0e4e0b6
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReportResultChooseOption
impl PartialEq for ReportResultChooseOption
Source§impl TryFrom<ReportResult> for ReportResultChooseOption
impl TryFrom<ReportResult> for ReportResultChooseOption
Source§type Error = ReportResult
type Error = ReportResult
The type returned in the event of a conversion error.
impl StructuralPartialEq for ReportResultChooseOption
Auto Trait Implementations§
impl Freeze for ReportResultChooseOption
impl RefUnwindSafe for ReportResultChooseOption
impl Send for ReportResultChooseOption
impl Sync for ReportResultChooseOption
impl Unpin for ReportResultChooseOption
impl UnsafeUnpin for ReportResultChooseOption
impl UnwindSafe for ReportResultChooseOption
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