pub enum Target {
Local {
id: String,
kind: String,
matches: bool,
},
Missing {
id: String,
},
External {
uri: String,
},
}Expand description
Where a typed reference’s target is.
Variants§
Local
In this document: the id, the kind of what has it, and whether that is the kind the reference says (any, for ref; any resource kind, for resource).
Missing
Named as #id, and nothing in this document has it.
External
Elsewhere: a named reference’s URI, or the reference itself.
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Forget for Target
impl Freeze for Target
impl Move for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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