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