pub struct DeletePrivateMessage {
pub private_message_id: PrivateMessageId,
pub deleted: bool,
}
Expand description
Delete a private message.
Fields§
§private_message_id: PrivateMessageId
§deleted: bool
Trait Implementations§
Source§impl Clone for DeletePrivateMessage
impl Clone for DeletePrivateMessage
Source§fn clone(&self) -> DeletePrivateMessage
fn clone(&self) -> DeletePrivateMessage
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 DeletePrivateMessage
impl Debug for DeletePrivateMessage
Source§impl Default for DeletePrivateMessage
impl Default for DeletePrivateMessage
Source§fn default() -> DeletePrivateMessage
fn default() -> DeletePrivateMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeletePrivateMessage
impl<'de> Deserialize<'de> for DeletePrivateMessage
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 Hash for DeletePrivateMessage
impl Hash for DeletePrivateMessage
Source§impl PartialEq for DeletePrivateMessage
impl PartialEq for DeletePrivateMessage
Source§impl Serialize for DeletePrivateMessage
impl Serialize for DeletePrivateMessage
impl Copy for DeletePrivateMessage
impl Eq for DeletePrivateMessage
impl StructuralPartialEq for DeletePrivateMessage
Auto Trait Implementations§
impl Freeze for DeletePrivateMessage
impl RefUnwindSafe for DeletePrivateMessage
impl Send for DeletePrivateMessage
impl Sync for DeletePrivateMessage
impl Unpin for DeletePrivateMessage
impl UnwindSafe for DeletePrivateMessage
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