pub struct GeneralStringSanitizer {
pub target: String,
pub value: Option<String>,
pub condition: Option<ApplyCondition>,
}Fields§
§target: String§value: Option<String>§condition: Option<ApplyCondition>Trait Implementations§
Source§impl AsHeaders for GeneralStringSanitizer
impl AsHeaders for GeneralStringSanitizer
Source§type Error = Infallible
type Error = Infallible
The error type which can occur when converting the type into headers.
Source§type Iter = Once<(HeaderName, HeaderValue)>
type Iter = Once<(HeaderName, HeaderValue)>
The iterator type which yields header name/value pairs.
Source§impl Clone for GeneralStringSanitizer
impl Clone for GeneralStringSanitizer
Source§fn clone(&self) -> GeneralStringSanitizer
fn clone(&self) -> GeneralStringSanitizer
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 GeneralStringSanitizer
impl Debug for GeneralStringSanitizer
Source§impl Default for GeneralStringSanitizer
impl Default for GeneralStringSanitizer
Source§fn default() -> GeneralStringSanitizer
fn default() -> GeneralStringSanitizer
Returns the “default value” for a type. Read more
impl Sanitizer for GeneralStringSanitizer
Auto Trait Implementations§
impl Freeze for GeneralStringSanitizer
impl RefUnwindSafe for GeneralStringSanitizer
impl Send for GeneralStringSanitizer
impl Sync for GeneralStringSanitizer
impl Unpin for GeneralStringSanitizer
impl UnsafeUnpin for GeneralStringSanitizer
impl UnwindSafe for GeneralStringSanitizer
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