pub struct AssistantFileObject {
pub id: String,
pub object: String,
pub created_at: i64,
pub assistant_id: String,
pub headers: Option<HashMap<String, String>>,
}
Expand description
Represents an assistant file object with its properties.
Fields§
§id: String
Unique identifier for the file.
object: String
Object type, typically “file”.
created_at: i64
Timestamp of when the file was created.
assistant_id: String
Unique identifier for the assistant associated with the file.
headers: Option<HashMap<String, String>>
Optional headers associated with the file.
Trait Implementations§
Source§impl Debug for AssistantFileObject
impl Debug for AssistantFileObject
Source§impl<'de> Deserialize<'de> for AssistantFileObject
impl<'de> Deserialize<'de> for AssistantFileObject
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 AssistantFileObject
impl RefUnwindSafe for AssistantFileObject
impl Send for AssistantFileObject
impl Sync for AssistantFileObject
impl Unpin for AssistantFileObject
impl UnwindSafe for AssistantFileObject
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