pub struct Fragment<'a> {
    pub message: Cow<'static, str>,
    pub span: Range<usize>,
    pub sql_segment: &'a str,
}Fields§
§message: Cow<'static, str>The primary message of the fragmenst
span: Range<usize>The span to attach the primary message to
sql_segment: &'a strThe sql segment of the issue
Trait Implementations§
impl<'a> Eq for Fragment<'a>
impl<'a> StructuralPartialEq for Fragment<'a>
Auto Trait Implementations§
impl<'a> Freeze for Fragment<'a>
impl<'a> RefUnwindSafe for Fragment<'a>
impl<'a> Send for Fragment<'a>
impl<'a> Sync for Fragment<'a>
impl<'a> Unpin for Fragment<'a>
impl<'a> UnwindSafe for Fragment<'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