pub struct RqHit {
pub name: String,
pub file: String,
pub line: u64,
pub kind: String,
pub confidence: f64,
pub via: String,
}Expand description
One code definition rq found, plus the candidate query that surfaced it.
Fields§
§name: String§file: String§line: u64§kind: String§confidence: f64§via: StringThe graphql-ruby candidate query that surfaced this hit — set by gqls, not read from rq, but included in serialized output.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RqHit
impl<'de> Deserialize<'de> for RqHit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RqHit
impl RefUnwindSafe for RqHit
impl Send for RqHit
impl Sync for RqHit
impl Unpin for RqHit
impl UnsafeUnpin for RqHit
impl UnwindSafe for RqHit
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