Struct cetacea_proto::extensions::mmm_v1::FileMessagePartV1
source · pub struct FileMessagePartV1 {
pub url: String,
pub mime_type: Option<String>,
pub name: String,
pub size: u64,
}Fields§
§url: String§mime_type: Option<String>§name: String§size: u64Trait Implementations§
source§impl Debug for FileMessagePartV1
impl Debug for FileMessagePartV1
source§impl<'de> Deserialize<'de> for FileMessagePartV1
impl<'de> Deserialize<'de> for FileMessagePartV1
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<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 Serialize for FileMessagePartV1
impl Serialize for FileMessagePartV1
source§impl TryFrom<MessagePartV1> for FileMessagePartV1
impl TryFrom<MessagePartV1> for FileMessagePartV1
Auto Trait Implementations§
impl RefUnwindSafe for FileMessagePartV1
impl Send for FileMessagePartV1
impl Sync for FileMessagePartV1
impl Unpin for FileMessagePartV1
impl UnwindSafe for FileMessagePartV1
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:80 bytes