pub struct Issue<'a> {
    pub level: Level,
    pub message: Cow<'static, str>,
    pub span: Span,
    pub sql_segment: &'a str,
    pub fragments: Vec<Fragment<'a>>,
}Expand description
An issue encountered during parsing, or later stages
Fields§
§level: LevelThe level of the issue
message: Cow<'static, str>The primary message of the issue
span: SpanThe span to attach the primary message to
sql_segment: &'a strThe sql segment of the issue
fragments: Vec<Fragment<'a>>List of secondary messages , spans and sql segments
Trait Implementations§
impl<'a> Eq for Issue<'a>
impl<'a> StructuralPartialEq for Issue<'a>
Auto Trait Implementations§
impl<'a> Freeze for Issue<'a>
impl<'a> RefUnwindSafe for Issue<'a>
impl<'a> Send for Issue<'a>
impl<'a> Sync for Issue<'a>
impl<'a> Unpin for Issue<'a>
impl<'a> UnwindSafe for Issue<'a>
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