pub struct CaptureParseResult {
pub raw_template: String,
pub captures: Vec<CapturePoint>,
}Expand description
Result of parsing capture points from a string.
Fields§
§raw_template: StringThe raw template with capture brackets removed.
select [username] from t → select username from t
captures: Vec<CapturePoint>The capture points found.
Trait Implementations§
Source§impl Clone for CaptureParseResult
impl Clone for CaptureParseResult
Auto Trait Implementations§
impl Freeze for CaptureParseResult
impl RefUnwindSafe for CaptureParseResult
impl Send for CaptureParseResult
impl Sync for CaptureParseResult
impl Unpin for CaptureParseResult
impl UnsafeUnpin for CaptureParseResult
impl UnwindSafe for CaptureParseResult
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