pub struct TrimNode {
pub childs: Vec<NodeType>,
pub start: String,
pub end: String,
}
Expand description
Represents a trim
node in py_sql.
It’s used to remove leading and/or trailing characters from a string.
§Examples
PySQL syntax:
trim ','
trim start=','
trim end=','
Fields§
§childs: Vec<NodeType>
§start: String
§end: String
Trait Implementations§
impl Eq for TrimNode
impl StructuralPartialEq for TrimNode
Auto Trait Implementations§
impl Freeze for TrimNode
impl RefUnwindSafe for TrimNode
impl Send for TrimNode
impl Sync for TrimNode
impl Unpin for TrimNode
impl UnwindSafe for TrimNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.