Struct async_openai::types::MessageFileObject
source · pub struct MessageFileObject {
pub id: String,
pub object: String,
pub created_at: i32,
pub message_id: String,
}
Expand description
A list of files attached to a message
.
Fields§
§id: String
The identifier, which can be referenced in API endpoints.
object: String
The object type, which is always thread.message.file
.
created_at: i32
The Unix timestamp (in seconds) for when the message file was created.
message_id: String
Trait Implementations§
source§impl Clone for MessageFileObject
impl Clone for MessageFileObject
source§fn clone(&self) -> MessageFileObject
fn clone(&self) -> MessageFileObject
Returns a copy 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 MessageFileObject
impl Debug for MessageFileObject
source§impl Default for MessageFileObject
impl Default for MessageFileObject
source§fn default() -> MessageFileObject
fn default() -> MessageFileObject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessageFileObject
impl<'de> Deserialize<'de> for MessageFileObject
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 MessageFileObject
impl PartialEq for MessageFileObject
source§fn eq(&self, other: &MessageFileObject) -> bool
fn eq(&self, other: &MessageFileObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageFileObject
impl Serialize for MessageFileObject
impl StructuralPartialEq for MessageFileObject
Auto Trait Implementations§
impl Freeze for MessageFileObject
impl RefUnwindSafe for MessageFileObject
impl Send for MessageFileObject
impl Sync for MessageFileObject
impl Unpin for MessageFileObject
impl UnwindSafe for MessageFileObject
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)