pub struct ParsedSqlFileSet { /* private fields */ }Expand description
Struct to contain the vector of parsed SQL files
Implementations§
Source§impl ParsedSqlFileSet
impl ParsedSqlFileSet
Sourcepub fn parse_all(set: Vec<SqlSource>) -> Result<Self, ParserError>
pub fn parse_all(set: Vec<SqlSource>) -> Result<Self, ParserError>
Method that parses a set of all members in a SqlSource
§Parameters
setthe set ofSqlSource
§Errors
ParserErroris returned for any errors parsing
Sourcepub fn files(&self) -> &[ParsedSqlFile]
pub fn files(&self) -> &[ParsedSqlFile]
Getter method for returning the vector of all ParsedSqlFile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedSqlFileSet
impl RefUnwindSafe for ParsedSqlFileSet
impl Send for ParsedSqlFileSet
impl Sync for ParsedSqlFileSet
impl Unpin for ParsedSqlFileSet
impl UnwindSafe for ParsedSqlFileSet
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