pub struct TransparentConfig {
pub commands: Vec<String>,
}Expand description
“Transparent-arg” commands: their last argument is opaque shell code.
Built-in list (always active): ssh, mosh, slogin. The commands
field extends — does not replace — the built-in list. tokf must not
splice text into the argv of these commands via regex rewrites.
Fields§
§commands: Vec<String>Additional command basenames to treat as transparent. Matched against
the basename of the command’s first word, so kubectl matches both
kubectl and /usr/local/bin/kubectl.
Trait Implementations§
Source§impl Clone for TransparentConfig
impl Clone for TransparentConfig
Source§fn clone(&self) -> TransparentConfig
fn clone(&self) -> TransparentConfig
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 TransparentConfig
impl Debug for TransparentConfig
Source§impl Default for TransparentConfig
impl Default for TransparentConfig
Source§fn default() -> TransparentConfig
fn default() -> TransparentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransparentConfig
impl<'de> Deserialize<'de> for TransparentConfig
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 TransparentConfig
impl RefUnwindSafe for TransparentConfig
impl Send for TransparentConfig
impl Sync for TransparentConfig
impl Unpin for TransparentConfig
impl UnsafeUnpin for TransparentConfig
impl UnwindSafe for TransparentConfig
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