pub struct ComposedMessage {
pub file_source: Option<CryptoFile>,
pub quoted_item_id: Option<i64>,
pub msg_content: MsgContent,
pub mentions: BTreeMap<String, i64>,
pub undocumented: Value,
}Fields§
§file_source: Option<CryptoFile>§quoted_item_id: Option<i64>§msg_content: MsgContent§mentions: BTreeMap<String, i64>§undocumented: ValueTrait Implementations§
Source§impl Clone for ComposedMessage
impl Clone for ComposedMessage
Source§fn clone(&self) -> ComposedMessage
fn clone(&self) -> ComposedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComposedMessage
impl Debug for ComposedMessage
Source§impl<'de> Deserialize<'de> for ComposedMessage
impl<'de> Deserialize<'de> for ComposedMessage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComposedMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComposedMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageLike for ComposedMessage
impl MessageLike for ComposedMessage
type Kind = RawKind
fn into_builder_parts(self) -> (ComposedMessage, RawKind)
Source§impl PartialEq for ComposedMessage
impl PartialEq for ComposedMessage
Source§fn eq(&self, other: &ComposedMessage) -> bool
fn eq(&self, other: &ComposedMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComposedMessage
impl Serialize for ComposedMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ComposedMessage
Auto Trait Implementations§
impl Freeze for ComposedMessage
impl RefUnwindSafe for ComposedMessage
impl Send for ComposedMessage
impl Sync for ComposedMessage
impl Unpin for ComposedMessage
impl UnsafeUnpin for ComposedMessage
impl UnwindSafe for ComposedMessage
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