pub struct ContainerFileResource {
pub id: String,
pub object: String,
pub container_id: String,
pub created_at: u32,
pub bytes: u32,
pub path: String,
pub source: String,
}Expand description
The container file object represents a file in a container.
Fields§
§id: StringUnique identifier for the file.
object: StringThe type of this object (container.file).
container_id: StringThe container this file belongs to.
created_at: u32Unix timestamp (in seconds) when the file was created.
bytes: u32Size of the file in bytes.
path: StringPath of the file in the container.
source: StringSource of the file (e.g., user, assistant).
Trait Implementations§
Source§impl Clone for ContainerFileResource
impl Clone for ContainerFileResource
Source§fn clone(&self) -> ContainerFileResource
fn clone(&self) -> ContainerFileResource
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 ContainerFileResource
impl Debug for ContainerFileResource
Source§impl<'de> Deserialize<'de> for ContainerFileResource
impl<'de> Deserialize<'de> for ContainerFileResource
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 ContainerFileResource
impl PartialEq for ContainerFileResource
Source§impl Serialize for ContainerFileResource
impl Serialize for ContainerFileResource
impl StructuralPartialEq for ContainerFileResource
Auto Trait Implementations§
impl Freeze for ContainerFileResource
impl RefUnwindSafe for ContainerFileResource
impl Send for ContainerFileResource
impl Sync for ContainerFileResource
impl Unpin for ContainerFileResource
impl UnwindSafe for ContainerFileResource
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