pub struct PackageSourceEntry {
pub key: String,
pub value: Result<NuGetFeedUrl, InvalidEntry>,
pub tier: ConfigTier,
pub auth: Option<NuGetAuth>,
}Expand description
One resolved <packageSources> entry, keyed by its declared key (case preserved, but
every comparison against it goes through key_candidates).
Fields§
§key: String§value: Result<NuGetFeedUrl, InvalidEntry>§tier: ConfigTierWhich tier’s file last set Self::value (issue #561) — diagnostics/gating metadata
only, see ConfigTier’s doc for the “never a credential gate” invariant.
auth: Option<NuGetAuth>Set only by resolve_with_context’s final C2 pass, gated on ConfigTier::UserProfile — never
during accumulation (upsert_source always writes None here; see its doc).
Trait Implementations§
Source§impl Clone for PackageSourceEntry
impl Clone for PackageSourceEntry
Source§fn clone(&self) -> PackageSourceEntry
fn clone(&self) -> PackageSourceEntry
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 moreAuto Trait Implementations§
impl Freeze for PackageSourceEntry
impl RefUnwindSafe for PackageSourceEntry
impl Send for PackageSourceEntry
impl Sync for PackageSourceEntry
impl Unpin for PackageSourceEntry
impl UnsafeUnpin for PackageSourceEntry
impl UnwindSafe for PackageSourceEntry
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