pub struct MessageObjectAttachments {
    pub file_id: Option<String>,
    pub tools: Option<Vec<MessageObjectAttachmentsTool>>,
}Fields§
§file_id: Option<String>The ID of the file to attach to the message.
tools: Option<Vec<MessageObjectAttachmentsTool>>The tools to add this file to.
Implementations§
Trait Implementations§
Source§impl Clone for MessageObjectAttachments
 
impl Clone for MessageObjectAttachments
Source§fn clone(&self) -> MessageObjectAttachments
 
fn clone(&self) -> MessageObjectAttachments
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 MessageObjectAttachments
 
impl Debug for MessageObjectAttachments
Source§impl Default for MessageObjectAttachments
 
impl Default for MessageObjectAttachments
Source§fn default() -> MessageObjectAttachments
 
fn default() -> MessageObjectAttachments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageObjectAttachments
 
impl<'de> Deserialize<'de> for MessageObjectAttachments
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 MessageObjectAttachments
 
impl PartialEq for MessageObjectAttachments
Source§impl Serialize for MessageObjectAttachments
 
impl Serialize for MessageObjectAttachments
impl StructuralPartialEq for MessageObjectAttachments
Auto Trait Implementations§
impl Freeze for MessageObjectAttachments
impl RefUnwindSafe for MessageObjectAttachments
impl Send for MessageObjectAttachments
impl Sync for MessageObjectAttachments
impl Unpin for MessageObjectAttachments
impl UnwindSafe for MessageObjectAttachments
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