pub struct WorkspaceHit {
pub workspace: String,
pub hit: RankedHit,
}Expand description
Multi-workspace ranked hit (workspace path + hit).
Prefer crate::GlobalRankedHit for the registry API; this type remains for
ad-hoc tooling that reuses the same shape.
Fields§
§workspace: StringAbsolute workspace path that produced the hit.
hit: RankedHitRanked hit within that workspace.
Trait Implementations§
Source§impl Clone for WorkspaceHit
impl Clone for WorkspaceHit
Source§fn clone(&self) -> WorkspaceHit
fn clone(&self) -> WorkspaceHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkspaceHit
impl Debug for WorkspaceHit
Source§impl<'de> Deserialize<'de> for WorkspaceHit
impl<'de> Deserialize<'de> for WorkspaceHit
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 WorkspaceHit
impl RefUnwindSafe for WorkspaceHit
impl Send for WorkspaceHit
impl Sync for WorkspaceHit
impl Unpin for WorkspaceHit
impl UnsafeUnpin for WorkspaceHit
impl UnwindSafe for WorkspaceHit
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