pub enum PackumentDetail {
Abbreviated,
Full,
}Expand description
How much of a packument to request from the registry.
Variants§
Abbreviated
The abbreviated install document (application/vnd.npm.install-v1+json) — much smaller and
faster, but it omits each version’s license.
Full
The full document, including license.
Trait Implementations§
Source§impl Clone for PackumentDetail
impl Clone for PackumentDetail
Source§fn clone(&self) -> PackumentDetail
fn clone(&self) -> PackumentDetail
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 moreimpl Copy for PackumentDetail
Source§impl Debug for PackumentDetail
impl Debug for PackumentDetail
Source§impl Default for PackumentDetail
impl Default for PackumentDetail
Source§fn default() -> PackumentDetail
fn default() -> PackumentDetail
Returns the “default value” for a type. Read more
impl Eq for PackumentDetail
Source§impl PartialEq for PackumentDetail
impl PartialEq for PackumentDetail
Source§fn eq(&self, other: &PackumentDetail) -> bool
fn eq(&self, other: &PackumentDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackumentDetail
Auto Trait Implementations§
impl Freeze for PackumentDetail
impl RefUnwindSafe for PackumentDetail
impl Send for PackumentDetail
impl Sync for PackumentDetail
impl Unpin for PackumentDetail
impl UnsafeUnpin for PackumentDetail
impl UnwindSafe for PackumentDetail
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,
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.