pub struct FlowValidation {
pub allowed: bool,
pub scan_intensity: ScanIntensity,
pub reason: Option<String>,
}Expand description
Result of validating whether a message may flow between two agents.
Fields§
§allowed: boolWhether the flow is allowed.
scan_intensity: ScanIntensityHow intensely the message should be scanned.
reason: Option<String>Reason when denied.
Trait Implementations§
Source§impl Clone for FlowValidation
impl Clone for FlowValidation
Source§fn clone(&self) -> FlowValidation
fn clone(&self) -> FlowValidation
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 FlowValidation
impl RefUnwindSafe for FlowValidation
impl Send for FlowValidation
impl Sync for FlowValidation
impl Unpin for FlowValidation
impl UnsafeUnpin for FlowValidation
impl UnwindSafe for FlowValidation
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