pub struct CreateMessageRequestAttachments {
pub file_id: String,
pub tools: Vec<CreateMessageRequestAttachmentsTool>,
}
Fields§
§file_id: String
The ID of the file to attach to the message.
tools: Vec<CreateMessageRequestAttachmentsTool>
The tools to add this file to.
Implementations§
Trait Implementations§
Source§impl Clone for CreateMessageRequestAttachments
impl Clone for CreateMessageRequestAttachments
Source§fn clone(&self) -> CreateMessageRequestAttachments
fn clone(&self) -> CreateMessageRequestAttachments
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<'de> Deserialize<'de> for CreateMessageRequestAttachments
impl<'de> Deserialize<'de> for CreateMessageRequestAttachments
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 CreateMessageRequestAttachments
impl PartialEq for CreateMessageRequestAttachments
Source§fn eq(&self, other: &CreateMessageRequestAttachments) -> bool
fn eq(&self, other: &CreateMessageRequestAttachments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateMessageRequestAttachments
Auto Trait Implementations§
impl Freeze for CreateMessageRequestAttachments
impl RefUnwindSafe for CreateMessageRequestAttachments
impl Send for CreateMessageRequestAttachments
impl Sync for CreateMessageRequestAttachments
impl Unpin for CreateMessageRequestAttachments
impl UnwindSafe for CreateMessageRequestAttachments
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