pub struct GetFileOptions {
pub path: String,
pub encoding: Option<Encoding>,
}Expand description
Specifies the options when getting a file.
It contains a path field for the file path and an encoding field for the file encoding.
Fields§
§path: StringThe path of the file to get.
encoding: Option<Encoding>The encoding of the file. This is an optional field.
Auto Trait Implementations§
impl Freeze for GetFileOptions
impl RefUnwindSafe for GetFileOptions
impl Send for GetFileOptions
impl Sync for GetFileOptions
impl Unpin for GetFileOptions
impl UnwindSafe for GetFileOptions
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