pub struct WafString { /* private fields */ }
Expand description
The WAF object representation of a value of type WafObjectType::String
Implementations§
Source§impl WafString
impl WafString
Sourcepub const fn is_valid(&self) -> bool
pub const fn is_valid(&self) -> bool
Returns true if this WafString is indeed WafObjectType::String.
Trait Implementations§
Source§impl AsRef<_ddwaf_object> for WafString
impl AsRef<_ddwaf_object> for WafString
Source§fn as_ref(&self) -> &ddwaf_object
fn as_ref(&self) -> &ddwaf_object
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl TypedWafObject for WafString
impl TypedWafObject for WafString
Source§const TYPE: WafObjectType = WafObjectType::String
const TYPE: WafObjectType = WafObjectType::String
The associated
WafObjectType
constant corresponding to the typed
object’s type discriminator.Auto Trait Implementations§
impl Freeze for WafString
impl RefUnwindSafe for WafString
impl Send for WafString
impl Sync for WafString
impl Unpin for WafString
impl UnwindSafe for WafString
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