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