pub struct Value { /* private fields */ }Implementations§
Source§impl Value
impl Value
pub fn new(value: impl AsRef<str>, sensitive: bool) -> Self
pub fn equals(&self, value: Option<&str>) -> bool
pub fn not_equals(&self, value: Option<&str>) -> bool
pub fn starts_with(&self, value: Option<&str>) -> bool
pub fn not_starts_with(&self, value: Option<&str>) -> bool
pub fn ends_with(&self, value: Option<&str>) -> bool
pub fn not_ends_with(&self, value: Option<&str>) -> bool
pub fn contains(&self, value: Option<&str>) -> bool
pub fn not_contains(&self, value: Option<&str>) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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