pub struct SqlObjects {
pub operation: Option<String>,
pub procedures: Vec<String>,
pub relations: Vec<String>,
}Expand description
What extraction found in a statement: its operation (the first keyword), the stored
procedures/functions it called, and the tables/views it touched. A view and a table are written
the same way in SQL text, so both land in relations.
Fields§
§operation: Option<String>§procedures: Vec<String>§relations: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for SqlObjects
impl Clone for SqlObjects
Source§impl Debug for SqlObjects
impl Debug for SqlObjects
impl Eq for SqlObjects
Source§impl PartialEq for SqlObjects
impl PartialEq for SqlObjects
impl StructuralPartialEq for SqlObjects
Auto Trait Implementations§
impl Freeze for SqlObjects
impl RefUnwindSafe for SqlObjects
impl Send for SqlObjects
impl Sync for SqlObjects
impl Unpin for SqlObjects
impl UnsafeUnpin for SqlObjects
impl UnwindSafe for SqlObjects
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