pub struct FirewallViolation {
pub rule_name: String,
pub sql: String,
pub action: FirewallAction,
}Expand description
防火墙违规
Fields§
§rule_name: String§sql: String§action: FirewallActionTrait Implementations§
Source§impl Clone for FirewallViolation
impl Clone for FirewallViolation
Source§fn clone(&self) -> FirewallViolation
fn clone(&self) -> FirewallViolation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FirewallViolation
impl Debug for FirewallViolation
Source§impl Display for FirewallViolation
impl Display for FirewallViolation
Source§impl Error for FirewallViolation
impl Error for FirewallViolation
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for FirewallViolation
impl RefUnwindSafe for FirewallViolation
impl Send for FirewallViolation
impl Sync for FirewallViolation
impl Unpin for FirewallViolation
impl UnsafeUnpin for FirewallViolation
impl UnwindSafe for FirewallViolation
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