Struct sqruff_lib::core::linter::common::RenderedFile
source · pub struct RenderedFile {
pub templated_file: TemplatedFile,
pub templater_violations: Vec<SQLTemplaterError>,
pub config: FluffConfig,
pub time_dict: HashMap<String, f64>,
pub encoding: String,
pub source_str: String,
/* private fields */
}
Expand description
An object to store the result of a templated file/string.
This is notable as it’s the intermediate state between what happens in the main process and the child processes when running in parallel mode.
Fields§
§templated_file: TemplatedFile
§templater_violations: Vec<SQLTemplaterError>
§config: FluffConfig
§time_dict: HashMap<String, f64>
§encoding: String
§source_str: String
Trait Implementations§
source§impl Clone for RenderedFile
impl Clone for RenderedFile
source§fn clone(&self) -> RenderedFile
fn clone(&self) -> RenderedFile
Returns a copy 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 RefUnwindSafe for RenderedFile
impl Send for RenderedFile
impl Sync for RenderedFile
impl Unpin for RenderedFile
impl UnwindSafe for RenderedFile
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