pub struct SpamReport {
pub reporter: Address,
pub timestamp: u64,
pub message_id: Hash,
}Expand description
Spam report for a message
Fields§
§reporter: AddressReporter address
timestamp: u64Timestamp of report
message_id: HashMessage ID being reported
Trait Implementations§
Source§impl Clone for SpamReport
impl Clone for SpamReport
Source§fn clone(&self) -> SpamReport
fn clone(&self) -> SpamReport
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 Debug for SpamReport
impl Debug for SpamReport
Source§impl<'de> Deserialize<'de> for SpamReport
impl<'de> Deserialize<'de> for SpamReport
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 SpamReport
impl PartialEq for SpamReport
Source§fn eq(&self, other: &SpamReport) -> bool
fn eq(&self, other: &SpamReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpamReport
impl Serialize for SpamReport
impl Eq for SpamReport
impl StructuralPartialEq for SpamReport
Auto Trait Implementations§
impl Freeze for SpamReport
impl RefUnwindSafe for SpamReport
impl Send for SpamReport
impl Sync for SpamReport
impl Unpin for SpamReport
impl UnsafeUnpin for SpamReport
impl UnwindSafe for SpamReport
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