pub struct SqlSegment {
pub text: String,
pub token: SqlToken,
}Expand description
A segment of SQL text with its token type.
Fields§
§text: StringThe text content
token: SqlTokenThe token type
Trait Implementations§
Source§impl Clone for SqlSegment
impl Clone for SqlSegment
Source§fn clone(&self) -> SqlSegment
fn clone(&self) -> SqlSegment
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 SqlSegment
impl RefUnwindSafe for SqlSegment
impl Send for SqlSegment
impl Sync for SqlSegment
impl Unpin for SqlSegment
impl UnsafeUnpin for SqlSegment
impl UnwindSafe for SqlSegment
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