#[non_exhaustive]pub struct ReportReasonAttributes {
pub reason: LocalizedString,
pub details_required: bool,
pub category: Option<ReportCategory>,
pub version: u32,
}Expand description
Report reason response object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reason: LocalizedString§details_required: bool§category: Option<ReportCategory>§version: u32Trait Implementations§
Source§impl Clone for ReportReasonAttributes
impl Clone for ReportReasonAttributes
Source§fn clone(&self) -> ReportReasonAttributes
fn clone(&self) -> ReportReasonAttributes
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 ReportReasonAttributes
impl Debug for ReportReasonAttributes
Source§impl Default for ReportReasonAttributes
impl Default for ReportReasonAttributes
Source§fn default() -> ReportReasonAttributes
fn default() -> ReportReasonAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportReasonAttributes
impl<'de> Deserialize<'de> for ReportReasonAttributes
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 TypedAttributes for ReportReasonAttributes
impl TypedAttributes for ReportReasonAttributes
const TYPE_: RelationshipType = RelationshipType::ReportReason
Auto Trait Implementations§
impl Freeze for ReportReasonAttributes
impl RefUnwindSafe for ReportReasonAttributes
impl Send for ReportReasonAttributes
impl Sync for ReportReasonAttributes
impl Unpin for ReportReasonAttributes
impl UnwindSafe for ReportReasonAttributes
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