pub struct ResolutionAttempt {
pub candidate: String,
pub outcome: String,
}Expand description
A single resolution attempt for diagnostics.
Fields§
§candidate: StringThe candidate path that was tried.
outcome: StringThe outcome of checking this candidate (simple string for cross-language compat).
Trait Implementations§
Source§impl Clone for ResolutionAttempt
impl Clone for ResolutionAttempt
Source§fn clone(&self) -> ResolutionAttempt
fn clone(&self) -> ResolutionAttempt
Returns a duplicate of the value. Read more
1.0.0 · 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 ResolutionAttempt
impl Debug for ResolutionAttempt
Source§impl<'de> Deserialize<'de> for ResolutionAttempt
impl<'de> Deserialize<'de> for ResolutionAttempt
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 ResolutionAttempt
impl RefUnwindSafe for ResolutionAttempt
impl Send for ResolutionAttempt
impl Sync for ResolutionAttempt
impl Unpin for ResolutionAttempt
impl UnwindSafe for ResolutionAttempt
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