pub struct FileObject { /* private fields */ }Implementations§
Source§impl FileObject
impl FileObject
pub fn bytes<T>(self, value: T) -> Self
pub fn created_at<T>(self, value: T) -> Self
pub fn expires_at<T>(self, value: T) -> Self
pub fn filename<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn object<T>(self, value: T) -> Self
pub fn purpose<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for FileObject
impl Clone for FileObject
Source§impl Debug for FileObject
impl Debug for FileObject
Source§impl Default for FileObject
impl Default for FileObject
Source§impl From<FileObject> for FileObject
impl From<FileObject> for FileObject
Source§fn from(value: FileObject) -> Self
fn from(value: FileObject) -> Self
Converts to this type from the input type.
Source§impl TryFrom<FileObject> for FileObject
impl TryFrom<FileObject> for FileObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: FileObject) -> Result<Self, ConversionError>
fn try_from(value: FileObject) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for FileObject
impl Freeze for FileObject
impl Move for FileObject
impl RefUnwindSafe for FileObject
impl Send for FileObjectwhere
RawVecInner: Send,
impl Sync for FileObjectwhere
RawVecInner: Sync,
impl Unpin for FileObject
impl UnsafeUnpin for FileObject
impl UnwindSafe for FileObjectwhere
RawVecInner: UnwindSafe,
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