pub struct ReportChatResultOptionRequired {
pub title: String,
pub options: Vec<ReportOption>,
}Expand description
The user must choose an option to report the chat and repeat request with the chosen option
Fields§
§title: StringTitle for the option choice
options: Vec<ReportOption>List of available options
Trait Implementations§
Source§impl Clone for ReportChatResultOptionRequired
impl Clone for ReportChatResultOptionRequired
Source§fn clone(&self) -> ReportChatResultOptionRequired
fn clone(&self) -> ReportChatResultOptionRequired
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 Default for ReportChatResultOptionRequired
impl Default for ReportChatResultOptionRequired
Source§fn default() -> ReportChatResultOptionRequired
fn default() -> ReportChatResultOptionRequired
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportChatResultOptionRequired
impl<'de> Deserialize<'de> for ReportChatResultOptionRequired
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 ReportChatResultOptionRequired
impl PartialEq for ReportChatResultOptionRequired
Source§fn eq(&self, other: &ReportChatResultOptionRequired) -> bool
fn eq(&self, other: &ReportChatResultOptionRequired) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReportChatResultOptionRequired
Auto Trait Implementations§
impl Freeze for ReportChatResultOptionRequired
impl RefUnwindSafe for ReportChatResultOptionRequired
impl Send for ReportChatResultOptionRequired
impl Sync for ReportChatResultOptionRequired
impl Unpin for ReportChatResultOptionRequired
impl UnsafeUnpin for ReportChatResultOptionRequired
impl UnwindSafe for ReportChatResultOptionRequired
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