Struct cetacea_proto::extensions::room_v1::MessagePartV1
source · pub struct MessagePartV1 {
pub type_: String,
pub data: Value,
}Fields§
§type_: String§data: ValueTrait Implementations§
source§impl Debug for MessagePartV1
impl Debug for MessagePartV1
source§impl<'de> Deserialize<'de> for MessagePartV1
impl<'de> Deserialize<'de> for MessagePartV1
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 From<AudioMessagePartV1> for MessagePartV1
impl From<AudioMessagePartV1> for MessagePartV1
source§fn from(t: AudioMessagePartV1) -> MessagePartV1
fn from(t: AudioMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl From<FileMessagePartV1> for MessagePartV1
impl From<FileMessagePartV1> for MessagePartV1
source§fn from(t: FileMessagePartV1) -> MessagePartV1
fn from(t: FileMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl From<LocationMessagePartV1> for MessagePartV1
impl From<LocationMessagePartV1> for MessagePartV1
source§fn from(t: LocationMessagePartV1) -> MessagePartV1
fn from(t: LocationMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl From<PinMessagePartV1> for MessagePartV1
impl From<PinMessagePartV1> for MessagePartV1
source§fn from(t: PinMessagePartV1) -> MessagePartV1
fn from(t: PinMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl From<ReactionMessagePartV1> for MessagePartV1
impl From<ReactionMessagePartV1> for MessagePartV1
source§fn from(t: ReactionMessagePartV1) -> MessagePartV1
fn from(t: ReactionMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl From<TextMessagePartV1> for MessagePartV1
impl From<TextMessagePartV1> for MessagePartV1
source§fn from(t: TextMessagePartV1) -> MessagePartV1
fn from(t: TextMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl From<VideoMessagePartV1> for MessagePartV1
impl From<VideoMessagePartV1> for MessagePartV1
source§fn from(t: VideoMessagePartV1) -> MessagePartV1
fn from(t: VideoMessagePartV1) -> MessagePartV1
Converts to this type from the input type.
source§impl Serialize for MessagePartV1
impl Serialize for MessagePartV1
source§impl TryFrom<MessagePartV1> for AudioMessagePartV1
impl TryFrom<MessagePartV1> for AudioMessagePartV1
source§impl TryFrom<MessagePartV1> for FileMessagePartV1
impl TryFrom<MessagePartV1> for FileMessagePartV1
source§impl TryFrom<MessagePartV1> for LocationMessagePartV1
impl TryFrom<MessagePartV1> for LocationMessagePartV1
source§impl TryFrom<MessagePartV1> for PinMessagePartV1
impl TryFrom<MessagePartV1> for PinMessagePartV1
source§impl TryFrom<MessagePartV1> for ReactionMessagePartV1
impl TryFrom<MessagePartV1> for ReactionMessagePartV1
source§impl TryFrom<MessagePartV1> for TextMessagePartV1
impl TryFrom<MessagePartV1> for TextMessagePartV1
source§impl TryFrom<MessagePartV1> for VideoMessagePartV1
impl TryFrom<MessagePartV1> for VideoMessagePartV1
Auto Trait Implementations§
impl RefUnwindSafe for MessagePartV1
impl Send for MessagePartV1
impl Sync for MessagePartV1
impl Unpin for MessagePartV1
impl UnwindSafe for MessagePartV1
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
impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:56 bytes