pub struct MessageDeleteContent {
pub metadata: Option<ContentMetadata>,
pub reason: Option<String>,
pub scope: Option<String>,
pub type: String,
}Fields§
§metadata: Option<ContentMetadata>§reason: Option<String>§scope: Option<String>§type: StringImplementations§
Source§impl MessageDeleteContent
impl MessageDeleteContent
pub fn serialize<__S>(
__self: &MessageDeleteContent,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> MessageDeleteContent
impl<'de> MessageDeleteContent
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageDeleteContent, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for MessageDeleteContent
impl Clone for MessageDeleteContent
Source§impl Debug for MessageDeleteContent
impl Debug for MessageDeleteContent
Source§impl<'de> Deserialize<'de> for MessageDeleteContent
impl<'de> Deserialize<'de> for MessageDeleteContent
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 MessageDeleteContent
impl RefUnwindSafe for MessageDeleteContent
impl Send for MessageDeleteContent
impl Sync for MessageDeleteContent
impl Unpin for MessageDeleteContent
impl UnsafeUnpin for MessageDeleteContent
impl UnwindSafe for MessageDeleteContent
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