pub struct EnvSnapshot {
pub session: Option<String>,
pub directory: Option<PathBuf>,
pub server: Option<String>,
pub pair: Option<String>,
pub host_env: Option<String>,
pub cwd: PathBuf,
pub home: PathBuf,
pub server_password_present: bool,
}Expand description
What the pairing environment says, read once at startup. A blank value reads as None.
Fields§
§session: Option<String>§directory: Option<PathBuf>§server: Option<String>§pair: Option<String>§host_env: Option<String>§cwd: PathBuf§home: PathBuf§server_password_present: boolImplementations§
Trait Implementations§
Source§impl Clone for EnvSnapshot
impl Clone for EnvSnapshot
Source§fn clone(&self) -> EnvSnapshot
fn clone(&self) -> EnvSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EnvSnapshot
impl RefUnwindSafe for EnvSnapshot
impl Send for EnvSnapshot
impl Sync for EnvSnapshot
impl Unpin for EnvSnapshot
impl UnsafeUnpin for EnvSnapshot
impl UnwindSafe for EnvSnapshot
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