pub struct CreateFileRequest {
pub file_name: String,
pub bytes: Bytes,
pub purpose: String,
pub title: Option<String>,
pub custom_data: Option<CustomData>,
}Fields§
§file_name: String§bytes: Bytes§purpose: String§title: Option<String>§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for CreateFileRequest
impl Clone for CreateFileRequest
Auto Trait Implementations§
impl !Freeze for CreateFileRequest
impl RefUnwindSafe for CreateFileRequest
impl Send for CreateFileRequest
impl Sync for CreateFileRequest
impl Unpin for CreateFileRequest
impl UnsafeUnpin for CreateFileRequest
impl UnwindSafe for CreateFileRequest
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