pub struct VerbConf {Show 19 fields
pub invocation: Option<String>,
pub internal: Option<String>,
pub external: Option<ExecPattern>,
pub execution: Option<ExecPattern>,
pub cmd: Option<String>,
pub cmd_separator: Option<String>,
pub key: Option<String>,
pub keys: Vec<String>,
pub extensions: Vec<String>,
pub shortcut: Option<String>,
pub leave_broot: Option<bool>,
pub from_shell: Option<bool>,
pub apply_to: FileTypeCondition,
pub set_working_dir: Option<bool>,
pub working_dir: Option<String>,
pub description: Option<String>,
pub auto_exec: Option<bool>,
pub switch_terminal: Option<bool>,
pub panels: Vec<PanelStateType>,
}
Expand description
A deserializable verb entry in the configuration
Fields§
§invocation: Option<String>
§internal: Option<String>
§external: Option<ExecPattern>
§execution: Option<ExecPattern>
§cmd: Option<String>
§cmd_separator: Option<String>
§key: Option<String>
§keys: Vec<String>
§extensions: Vec<String>
§shortcut: Option<String>
§leave_broot: Option<bool>
§from_shell: Option<bool>
§apply_to: FileTypeCondition
§set_working_dir: Option<bool>
§working_dir: Option<String>
§description: Option<String>
§auto_exec: Option<bool>
§switch_terminal: Option<bool>
§panels: Vec<PanelStateType>
Trait Implementations§
source§impl<'de> Deserialize<'de> for VerbConf
impl<'de> Deserialize<'de> for VerbConf
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 RefUnwindSafe for VerbConf
impl Send for VerbConf
impl Sync for VerbConf
impl Unpin for VerbConf
impl UnwindSafe for VerbConf
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.