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 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 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§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