pub struct FileInputData {
pub base64_data: String,
pub filename: String,
pub file_path: String,
pub size: u64,
}Expand description
File data prepared for inline model input.
Fields§
§base64_data: String§filename: String§file_path: String§size: u64Trait Implementations§
Source§impl Clone for FileInputData
impl Clone for FileInputData
Source§fn clone(&self) -> FileInputData
fn clone(&self) -> FileInputData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileInputData
impl Debug for FileInputData
impl Eq for FileInputData
Source§impl PartialEq for FileInputData
impl PartialEq for FileInputData
Source§fn eq(&self, other: &FileInputData) -> bool
fn eq(&self, other: &FileInputData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileInputData
Auto Trait Implementations§
impl Freeze for FileInputData
impl RefUnwindSafe for FileInputData
impl Send for FileInputData
impl Sync for FileInputData
impl Unpin for FileInputData
impl UnsafeUnpin for FileInputData
impl UnwindSafe for FileInputData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.