pub struct PrivateMessageReport {
pub id: PrivateMessageReportId,
pub creator_id: PersonId,
pub private_message_id: PrivateMessageId,
pub original_pm_text: String,
pub reason: String,
pub resolved: bool,
pub resolver_id: Option<PersonId>,
pub published: DateTime<Utc>,
pub updated: Option<DateTime<Utc>>,
}
Expand description
The private message report.
Fields§
§id: PrivateMessageReportId
§creator_id: PersonId
§private_message_id: PrivateMessageId
§original_pm_text: String
The original text.
reason: String
§resolved: bool
§resolver_id: Option<PersonId>
§published: DateTime<Utc>
§updated: Option<DateTime<Utc>>
Trait Implementations§
source§impl Clone for PrivateMessageReport
impl Clone for PrivateMessageReport
source§fn clone(&self) -> PrivateMessageReport
fn clone(&self) -> PrivateMessageReport
Returns a copy 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 PrivateMessageReport
impl Debug for PrivateMessageReport
source§impl<'de> Deserialize<'de> for PrivateMessageReport
impl<'de> Deserialize<'de> for PrivateMessageReport
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 PrivateMessageReport
impl PartialEq for PrivateMessageReport
source§fn eq(&self, other: &PrivateMessageReport) -> bool
fn eq(&self, other: &PrivateMessageReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivateMessageReport
impl Serialize for PrivateMessageReport
impl Eq for PrivateMessageReport
impl StructuralPartialEq for PrivateMessageReport
Auto Trait Implementations§
impl Freeze for PrivateMessageReport
impl RefUnwindSafe for PrivateMessageReport
impl Send for PrivateMessageReport
impl Sync for PrivateMessageReport
impl Unpin for PrivateMessageReport
impl UnwindSafe for PrivateMessageReport
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