pub struct TruthyOption {
pub is_true: bool,
pub pattern: Arc<str>,
pub case_sensitive: bool,
pub starts_with: bool,
}Expand description
Truth Option that may be case-sensitive and match either the start or anywhere within a string It’s assumed truthy field use consistent naming conventions, but this allows some flexibility without using full regular expressions
Fields§
§is_true: bool§pattern: Arc<str>§case_sensitive: bool§starts_with: boolImplementations§
Trait Implementations§
Source§impl Clone for TruthyOption
impl Clone for TruthyOption
Source§fn clone(&self) -> TruthyOption
fn clone(&self) -> TruthyOption
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 TruthyOption
impl RefUnwindSafe for TruthyOption
impl Send for TruthyOption
impl Sync for TruthyOption
impl Unpin for TruthyOption
impl UnwindSafe for TruthyOption
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