pub struct OperatorResult {
pub matched: bool,
pub captures: Vec<String>,
pub matched_value: Option<String>,
}Expand description
Result of operator execution.
Fields§
§matched: boolWhether the operator matched.
captures: Vec<String>Captured groups from regex.
matched_value: Option<String>The matched value.
Implementations§
Trait Implementations§
Source§impl Clone for OperatorResult
impl Clone for OperatorResult
Source§fn clone(&self) -> OperatorResult
fn clone(&self) -> OperatorResult
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 moreSource§impl Debug for OperatorResult
impl Debug for OperatorResult
Source§impl Default for OperatorResult
impl Default for OperatorResult
Source§fn default() -> OperatorResult
fn default() -> OperatorResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OperatorResult
impl RefUnwindSafe for OperatorResult
impl Send for OperatorResult
impl Sync for OperatorResult
impl Unpin for OperatorResult
impl UnwindSafe for OperatorResult
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