pub struct HomeLocation {
pub home: Option<PathBuf>,
pub isolated: bool,
}Expand description
The home folder a listing starts from, as the host resolves it (so test and QA builds never list the real home).
Fields§
§home: Option<PathBuf>The home directory, when known.
isolated: boolTrue when home is an isolated stand-in; the real known folders (Desktop, Documents,
Downloads) are then never asked for, since they would point at the user’s own folders.
Trait Implementations§
Source§impl Clone for HomeLocation
impl Clone for HomeLocation
Source§impl Debug for HomeLocation
impl Debug for HomeLocation
Auto Trait Implementations§
impl Forget for HomeLocation
impl Freeze for HomeLocation
impl Move for HomeLocation
impl RefUnwindSafe for HomeLocation
impl Send for HomeLocation
impl Sync for HomeLocation
impl Unpin for HomeLocation
impl UnsafeUnpin for HomeLocation
impl UnwindSafe for HomeLocation
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