pub struct CreatableReport {
pub report_type: String,
pub item_id: String,
pub item_type: ItemType,
pub body: String,
}
Fields§
§report_type: String
The type of the report being sent
item_id: String
The ID of the item (project, version, or user) being reported
item_type: ItemType
The type of the item being reported
body: String
The extended explanation of the report
Implementations§
Trait Implementations§
Source§impl Clone for CreatableReport
impl Clone for CreatableReport
Source§fn clone(&self) -> CreatableReport
fn clone(&self) -> CreatableReport
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 CreatableReport
impl Debug for CreatableReport
Source§impl Default for CreatableReport
impl Default for CreatableReport
Source§fn default() -> CreatableReport
fn default() -> CreatableReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatableReport
impl<'de> Deserialize<'de> for CreatableReport
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 CreatableReport
impl PartialEq for CreatableReport
Source§impl Serialize for CreatableReport
impl Serialize for CreatableReport
impl StructuralPartialEq for CreatableReport
Auto Trait Implementations§
impl Freeze for CreatableReport
impl RefUnwindSafe for CreatableReport
impl Send for CreatableReport
impl Sync for CreatableReport
impl Unpin for CreatableReport
impl UnwindSafe for CreatableReport
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