pub struct File {Show 18 fields
pub object: Option<ObjectTrue>,
pub status: Option<StatusTrue>,
pub name: Option<String>,
pub original_name: Option<String>,
pub bytes: Option<f64>,
pub purpose: Option<String>,
pub mimetype: Option<String>,
pub key: Option<String>,
pub path: Option<String>,
pub bucket: Option<String>,
pub url: Option<String>,
pub parsed_text_url: Option<String>,
pub parsed_text_bytes: Option<f64>,
pub metadata: Option<Value>,
pub id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
}
Fields§
§object: Option<ObjectTrue>
§status: Option<StatusTrue>
§name: Option<String>
This is the name of the file. This is just for your own reference.
original_name: Option<String>
§bytes: Option<f64>
§purpose: Option<String>
§mimetype: Option<String>
§key: Option<String>
§path: Option<String>
§bucket: Option<String>
§url: Option<String>
§parsed_text_url: Option<String>
§parsed_text_bytes: Option<f64>
§metadata: Option<Value>
§id: String
This is the unique identifier for the file.
org_id: String
This is the unique identifier for the org that this file belongs to.
created_at: String
This is the ISO 8601 date-time string of when the file was created.
updated_at: String
This is the ISO 8601 date-time string of when the file was last updated.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
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
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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