pub struct Config {
pub mount_base: String,
pub mount_options: Vec<String>,
pub fuse_driver: String,
pub require_confirmation: bool,
pub color: bool,
}Fields§
§mount_base: StringDefault mount point base. NTFS volumes mount to
<base>/<volume_label> by default.
mount_options: Vec<String>Extra ntfs-3g mount options, space-separated.
Examples: "noowners", "uid=501", "gid=20".
fuse_driver: StringPreferred FUSE driver when both macFUSE and FUSE-T are
installed. "fuse-t" (Apple Silicon default), "macfuse", or
"auto" (let ntfs-3g decide).
require_confirmation: boolRequire interactive confirmation before format/fix even
when the caller supplies a token. Set to false only in
scripted/CI environments.
color: boolEmit coloured terminal output. Only affects the CLI.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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