pub struct ProjectResolveOptions {
pub target: String,
pub default_server_origin: String,
pub default_registry_index: String,
pub groups: BTreeSet<DependencyGroup>,
pub root_features: BTreeSet<String>,
pub host_capabilities: BTreeSet<HostCapability>,
pub source_intent: SourceAcquisitionIntent,
pub source_policy: SourceAcquisitionPolicy,
}Fields§
§target: String§default_server_origin: String§default_registry_index: String§groups: BTreeSet<DependencyGroup>§root_features: BTreeSet<String>§host_capabilities: BTreeSet<HostCapability>§source_intent: SourceAcquisitionIntent§source_policy: SourceAcquisitionPolicyImplementations§
Source§impl ProjectResolveOptions
impl ProjectResolveOptions
pub fn lock_selection(&self) -> LockSelection
Trait Implementations§
Source§impl Clone for ProjectResolveOptions
impl Clone for ProjectResolveOptions
Source§fn clone(&self) -> ProjectResolveOptions
fn clone(&self) -> ProjectResolveOptions
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 ProjectResolveOptions
impl Debug for ProjectResolveOptions
Source§impl<'de> Deserialize<'de> for ProjectResolveOptions
impl<'de> Deserialize<'de> for ProjectResolveOptions
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
impl Eq for ProjectResolveOptions
Source§impl PartialEq for ProjectResolveOptions
impl PartialEq for ProjectResolveOptions
Source§impl Serialize for ProjectResolveOptions
impl Serialize for ProjectResolveOptions
impl StructuralPartialEq for ProjectResolveOptions
Auto Trait Implementations§
impl Freeze for ProjectResolveOptions
impl RefUnwindSafe for ProjectResolveOptions
impl Send for ProjectResolveOptions
impl Sync for ProjectResolveOptions
impl Unpin for ProjectResolveOptions
impl UnsafeUnpin for ProjectResolveOptions
impl UnwindSafe for ProjectResolveOptions
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.