pub struct MessageRef(/* private fields */);
Expand description
A reference to a message. Can be resolved to MessageInfo
through a Context
.
Trait Implementations§
Source§impl Clone for MessageRef
impl Clone for MessageRef
Source§fn clone(&self) -> MessageRef
fn clone(&self) -> MessageRef
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 MessageRef
impl Debug for MessageRef
Source§impl Hash for MessageRef
impl Hash for MessageRef
Source§impl PartialEq for MessageRef
impl PartialEq for MessageRef
impl Copy for MessageRef
impl Eq for MessageRef
impl StructuralPartialEq for MessageRef
Auto Trait Implementations§
impl Freeze for MessageRef
impl RefUnwindSafe for MessageRef
impl Send for MessageRef
impl Sync for MessageRef
impl Unpin for MessageRef
impl UnwindSafe for MessageRef
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