pub struct MultiLayerResult {
pub passed: bool,
pub action: GuardAction,
pub layer_results: Vec<LayerResult>,
pub all_matches: Vec<Match>,
pub total_duration: Duration,
pub strategy: AggregationStrategy,
pub summary: String,
}Expand description
Result from the multi-layer defense
Fields§
§passed: boolOverall pass/fail
action: GuardActionFinal action to take
layer_results: Vec<LayerResult>Results from each layer
all_matches: Vec<Match>Combined matches from all layers
total_duration: DurationTotal execution time
strategy: AggregationStrategyAggregation strategy used
summary: StringSummary message
Trait Implementations§
Source§impl Clone for MultiLayerResult
impl Clone for MultiLayerResult
Source§fn clone(&self) -> MultiLayerResult
fn clone(&self) -> MultiLayerResult
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 MultiLayerResult
impl RefUnwindSafe for MultiLayerResult
impl Send for MultiLayerResult
impl Sync for MultiLayerResult
impl Unpin for MultiLayerResult
impl UnwindSafe for MultiLayerResult
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