pub struct OutputBranch {
pub output: Option<String>,
pub aggregate: Option<AggregateRule>,
pub aggregates: Vec<AggregateRule>,
pub tail: Option<usize>,
pub head: Option<usize>,
pub skip: Vec<String>,
pub extract: Option<ExtractRule>,
}Expand description
Output branch for success/failure exit codes.
Fields§
§output: Option<String>Template string for the output.
aggregate: Option<AggregateRule>Aggregation rule for collected sections (singular shorthand).
aggregates: Vec<AggregateRule>Multiple aggregation rules for collected sections.
tail: Option<usize>Number of lines to keep from the tail.
head: Option<usize>Number of lines to keep from the head.
skip: Vec<String>Patterns for lines to skip within this branch.
extract: Option<ExtractRule>Extract rule applied within this branch.
Trait Implementations§
Source§impl Clone for OutputBranch
impl Clone for OutputBranch
Source§fn clone(&self) -> OutputBranch
fn clone(&self) -> OutputBranch
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 moreSource§impl Debug for OutputBranch
impl Debug for OutputBranch
Source§impl<'de> Deserialize<'de> for OutputBranch
impl<'de> Deserialize<'de> for OutputBranch
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
Source§impl PartialEq for OutputBranch
impl PartialEq for OutputBranch
Source§impl Serialize for OutputBranch
impl Serialize for OutputBranch
impl Eq for OutputBranch
impl StructuralPartialEq for OutputBranch
Auto Trait Implementations§
impl Freeze for OutputBranch
impl RefUnwindSafe for OutputBranch
impl Send for OutputBranch
impl Sync for OutputBranch
impl Unpin for OutputBranch
impl UnsafeUnpin for OutputBranch
impl UnwindSafe for OutputBranch
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