pub struct MessagePartsPayloadFile {
pub file_id: FileId,
pub file_type: String,
pub caption: String,
pub format: MessageFormat,
}Expand description
Message parts payload file
Fields§
§file_id: FileId§file_type: String§caption: String§format: MessageFormatTrait Implementations§
Source§impl Clone for MessagePartsPayloadFile
impl Clone for MessagePartsPayloadFile
Source§fn clone(&self) -> MessagePartsPayloadFile
fn clone(&self) -> MessagePartsPayloadFile
Returns a duplicate of the value. Read more
1.0.0 · 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 MessagePartsPayloadFile
impl Debug for MessagePartsPayloadFile
Source§impl<'de> Deserialize<'de> for MessagePartsPayloadFile
impl<'de> Deserialize<'de> for MessagePartsPayloadFile
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 PartialEq for MessagePartsPayloadFile
impl PartialEq for MessagePartsPayloadFile
Source§impl Serialize for MessagePartsPayloadFile
impl Serialize for MessagePartsPayloadFile
impl StructuralPartialEq for MessagePartsPayloadFile
Auto Trait Implementations§
impl Freeze for MessagePartsPayloadFile
impl RefUnwindSafe for MessagePartsPayloadFile
impl Send for MessagePartsPayloadFile
impl Sync for MessagePartsPayloadFile
impl Unpin for MessagePartsPayloadFile
impl UnwindSafe for MessagePartsPayloadFile
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