pub struct FirewallResult {
pub text: String,
pub findings: Vec<SecurityFinding>,
pub modified: bool,
pub action: FirewallAction,
}Expand description
Result of firewall processing (input or output).
Fields§
§text: StringThe processed text (may be modified from original).
findings: Vec<SecurityFinding>Security findings produced during processing.
modified: boolWhether the content was modified.
action: FirewallActionRecommended action.
Trait Implementations§
Source§impl Clone for FirewallResult
impl Clone for FirewallResult
Source§fn clone(&self) -> FirewallResult
fn clone(&self) -> FirewallResult
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 FirewallResult
impl RefUnwindSafe for FirewallResult
impl Send for FirewallResult
impl Sync for FirewallResult
impl Unpin for FirewallResult
impl UnsafeUnpin for FirewallResult
impl UnwindSafe for FirewallResult
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