pub enum RankedConnectionTarget {
Local {
path: String,
symbol: Option<String>,
},
Package {
manager: String,
name: String,
manifest: String,
},
External {
system: String,
identity: String,
},
Unresolved {
reference: String,
},
}Expand description
Compact typed target for a sampled ranked-node connection.
Variants§
Local
A repository-local file or declaration.
Fields
Package
A manifest-owned package identity.
Fields
External
A typed target outside the selected repository.
Unresolved
A static reference that could not be resolved uniquely.
Trait Implementations§
Source§impl Clone for RankedConnectionTarget
impl Clone for RankedConnectionTarget
Source§fn clone(&self) -> RankedConnectionTarget
fn clone(&self) -> RankedConnectionTarget
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 RankedConnectionTarget
impl Debug for RankedConnectionTarget
Source§impl<'de> Deserialize<'de> for RankedConnectionTarget
impl<'de> Deserialize<'de> for RankedConnectionTarget
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
Source§impl PartialEq for RankedConnectionTarget
impl PartialEq for RankedConnectionTarget
Source§impl Serialize for RankedConnectionTarget
impl Serialize for RankedConnectionTarget
impl Eq for RankedConnectionTarget
impl StructuralPartialEq for RankedConnectionTarget
Auto Trait Implementations§
impl Freeze for RankedConnectionTarget
impl RefUnwindSafe for RankedConnectionTarget
impl Send for RankedConnectionTarget
impl Sync for RankedConnectionTarget
impl Unpin for RankedConnectionTarget
impl UnwindSafe for RankedConnectionTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.