pub struct PinnedMessage {
pub message: Message,
pub pinned_at: Option<String>,
}Fields§
§message: Message§pinned_at: Option<String>Trait Implementations§
Source§impl Clone for PinnedMessage
impl Clone for PinnedMessage
Source§fn clone(&self) -> PinnedMessage
fn clone(&self) -> PinnedMessage
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 PinnedMessage
impl Debug for PinnedMessage
Source§impl<'de> Deserialize<'de> for PinnedMessage
impl<'de> Deserialize<'de> for PinnedMessage
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
Auto Trait Implementations§
impl Freeze for PinnedMessage
impl RefUnwindSafe for PinnedMessage
impl Send for PinnedMessage
impl Sync for PinnedMessage
impl Unpin for PinnedMessage
impl UnsafeUnpin for PinnedMessage
impl UnwindSafe for PinnedMessage
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