pub struct File {Show 16 fields
pub id: FileId,
pub name: String,
pub description: Option<String>,
pub size_bytes: i64,
pub status: FileStatus,
pub error_message: Option<String>,
pub purpose: Option<Purpose>,
pub expires_at: Option<DateTime<Utc>>,
pub deleted_at: Option<DateTime<Utc>>,
pub uploaded_by: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub size_finalized: bool,
pub api_key_id: Option<Uuid>,
pub source_connection_id: Option<Uuid>,
pub source_external_key: Option<String>,
}Expand description
A file containing a collection of request templates.
Fields§
§id: FileId§name: String§description: Option<String>§size_bytes: i64§status: FileStatus§error_message: Option<String>§purpose: Option<Purpose>§expires_at: Option<DateTime<Utc>>§deleted_at: Option<DateTime<Utc>>§uploaded_by: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§size_finalized: bool§api_key_id: Option<Uuid>API key UUID that created this file, for per-member attribution within orgs
source_connection_id: Option<Uuid>Connection UUID when file was ingested from an external source.
source_external_key: Option<String>Original external file key/path within the source connection scope.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin 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