pub struct MsgContentReportRef<'a> {
pub text: &'a String,
pub reason: &'a ReportReason,
}Fields§
§text: &'a String§reason: &'a ReportReasonTrait Implementations§
Source§impl<'a> Clone for MsgContentReportRef<'a>
impl<'a> Clone for MsgContentReportRef<'a>
Source§fn clone(&self) -> MsgContentReportRef<'a>
fn clone(&self) -> MsgContentReportRef<'a>
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 moreimpl<'a> Copy for MsgContentReportRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MsgContentReportRef<'a>
impl<'a> RefUnwindSafe for MsgContentReportRef<'a>
impl<'a> Send for MsgContentReportRef<'a>
impl<'a> Sync for MsgContentReportRef<'a>
impl<'a> Unpin for MsgContentReportRef<'a>
impl<'a> UnsafeUnpin for MsgContentReportRef<'a>
impl<'a> UnwindSafe for MsgContentReportRef<'a>
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