pub struct FilterInput {
pub raw: String,
pub command: String,
pub subcommand: String,
pub args: Vec<String>,
pub level: Level,
pub head_limit: usize,
pub exit_code: i32,
}Expand description
Input to a filter plugin.
Fields§
§raw: StringRaw command output (stdout + stderr merged)
command: StringCommand name (e.g., “git”)
subcommand: StringSubcommand (e.g., “status”), empty if none
args: Vec<String>Full argument list
level: LevelCurrent intensity level
head_limit: usizeHead limit for this level
exit_code: i32Command exit code
Trait Implementations§
Source§impl Clone for FilterInput
impl Clone for FilterInput
Source§fn clone(&self) -> FilterInput
fn clone(&self) -> FilterInput
Returns a duplicate of the value. Read more
1.0.0 · 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 FilterInput
impl RefUnwindSafe for FilterInput
impl Send for FilterInput
impl Sync for FilterInput
impl Unpin for FilterInput
impl UnsafeUnpin for FilterInput
impl UnwindSafe for FilterInput
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