pub struct QuerySource {
pub language: String,
pub name: String,
pub text: String,
}Expand description
A named query source. diffr compiles all enabled sources per language. Names identify sources for imports and diagnostics; shared names must have identical text. Relative imports resolve against this name.
Fields§
§language: String§name: String§text: StringTrait Implementations§
Source§impl Clone for QuerySource
impl Clone for QuerySource
Source§impl Debug for QuerySource
impl Debug for QuerySource
impl Eq for QuerySource
Source§impl PartialEq for QuerySource
impl PartialEq for QuerySource
impl StructuralPartialEq for QuerySource
Auto Trait Implementations§
impl Freeze for QuerySource
impl RefUnwindSafe for QuerySource
impl Send for QuerySource
impl Sync for QuerySource
impl Unpin for QuerySource
impl UnsafeUnpin for QuerySource
impl UnwindSafe for QuerySource
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