pub struct InvalidEntry {
pub raw: String,
pub reason: NuGetFeedUrlError,
}Expand description
A present-but-unusable <add> entry — an invalid URL, a policy-blocked host, a
disabled/credentialed source, or an unsupported protocol/local-feed value.
Fields§
§raw: StringThe raw value, as written (or the source’s resolved URL if it was invalidated only after passing URL validation, e.g. disabled/credentialed), with any embedded userinfo redacted.
reason: NuGetFeedUrlErrorWhy it was rejected.
Trait Implementations§
Source§impl Clone for InvalidEntry
impl Clone for InvalidEntry
Source§fn clone(&self) -> InvalidEntry
fn clone(&self) -> InvalidEntry
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 InvalidEntry
impl RefUnwindSafe for InvalidEntry
impl Send for InvalidEntry
impl Sync for InvalidEntry
impl Unpin for InvalidEntry
impl UnsafeUnpin for InvalidEntry
impl UnwindSafe for InvalidEntry
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