pub struct GlobalOptionsSnapshot {
pub argv: Vec<OsString>,
}Expand description
Redacted global jj options retained by command history.
Fields§
§argv: Vec<OsString>Global argv rendered before the command family, excluding the jj binary.
Implementations§
Source§impl GlobalOptionsSnapshot
impl GlobalOptionsSnapshot
Sourcepub fn from_global_options(options: &GlobalOptions) -> Self
pub fn from_global_options(options: &GlobalOptions) -> Self
Captures redacted global argv from typed global options.
Trait Implementations§
Source§impl Clone for GlobalOptionsSnapshot
impl Clone for GlobalOptionsSnapshot
Source§fn clone(&self) -> GlobalOptionsSnapshot
fn clone(&self) -> GlobalOptionsSnapshot
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 moreSource§impl Debug for GlobalOptionsSnapshot
impl Debug for GlobalOptionsSnapshot
impl Eq for GlobalOptionsSnapshot
Source§impl PartialEq for GlobalOptionsSnapshot
impl PartialEq for GlobalOptionsSnapshot
Source§fn eq(&self, other: &GlobalOptionsSnapshot) -> bool
fn eq(&self, other: &GlobalOptionsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalOptionsSnapshot
Auto Trait Implementations§
impl Freeze for GlobalOptionsSnapshot
impl RefUnwindSafe for GlobalOptionsSnapshot
impl Send for GlobalOptionsSnapshot
impl Sync for GlobalOptionsSnapshot
impl Unpin for GlobalOptionsSnapshot
impl UnsafeUnpin for GlobalOptionsSnapshot
impl UnwindSafe for GlobalOptionsSnapshot
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