Struct modio::files::AddFileOptions
source · pub struct AddFileOptions { /* private fields */ }
Implementations§
source§impl AddFileOptions
impl AddFileOptions
pub fn with_read<R, S>(inner: R, filename: S) -> AddFileOptions
pub fn with_file<P: AsRef<Path>>(file: P) -> AddFileOptions
pub fn with_file_name<P, S>(file: P, filename: S) -> AddFileOptions
pub fn version<T: Into<String>>(self, value: T) -> Self
pub fn changelog<T: Into<String>>(self, value: T) -> Self
pub fn active(self, value: bool) -> Self
pub fn filehash<T: Into<String>>(self, value: T) -> Self
pub fn metadata_blob<T: Into<String>>(self, value: T) -> Self
Auto Trait Implementations§
impl !Freeze for AddFileOptions
impl !RefUnwindSafe for AddFileOptions
impl Send for AddFileOptions
impl Sync for AddFileOptions
impl Unpin for AddFileOptions
impl !UnwindSafe for AddFileOptions
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