pub struct AssistantFile {
pub id: String,
pub object: String,
pub created_at: i64,
pub assistant_id: String,
}Expand description
An assistant file object.
Fields§
§id: StringThe identifier of the assistant file.
object: StringThe object type, which is always “assistant.file”.
created_at: i64The Unix timestamp (in seconds) for when the assistant file was created.
assistant_id: StringThe assistant ID that the file is attached to.
Trait Implementations§
Source§impl Clone for AssistantFile
impl Clone for AssistantFile
Source§fn clone(&self) -> AssistantFile
fn clone(&self) -> AssistantFile
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 AssistantFile
impl Debug for AssistantFile
Source§impl<'de> Deserialize<'de> for AssistantFile
impl<'de> Deserialize<'de> for AssistantFile
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
Auto Trait Implementations§
impl Freeze for AssistantFile
impl RefUnwindSafe for AssistantFile
impl Send for AssistantFile
impl Sync for AssistantFile
impl Unpin for AssistantFile
impl UnwindSafe for AssistantFile
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