pub struct NpmCompDist {
pub tarball: Url,
pub shasum: String,
pub integrity: String,
}
Expand description
Distribution infos for NpmCompPackage::dist
Fields§
§tarball: Url
The package tarball from npm
shasum: String
The shasum hash from package
integrity: String
Package integrity (as sha-256)
Trait Implementations§
Source§impl AsRef<NpmCompDist> for NpmCompDist
impl AsRef<NpmCompDist> for NpmCompDist
Source§fn as_ref(&self) -> &NpmCompDist
fn as_ref(&self) -> &NpmCompDist
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for NpmCompDist
impl Clone for NpmCompDist
Source§fn clone(&self) -> NpmCompDist
fn clone(&self) -> NpmCompDist
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 NpmCompDist
impl Debug for NpmCompDist
Source§impl<'de> Deserialize<'de> for NpmCompDist
impl<'de> Deserialize<'de> for NpmCompDist
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 NpmCompDist
impl PartialEq for NpmCompDist
Source§impl Serialize for NpmCompDist
impl Serialize for NpmCompDist
impl Eq for NpmCompDist
impl StructuralPartialEq for NpmCompDist
Auto Trait Implementations§
impl Freeze for NpmCompDist
impl RefUnwindSafe for NpmCompDist
impl Send for NpmCompDist
impl Sync for NpmCompDist
impl Unpin for NpmCompDist
impl UnwindSafe for NpmCompDist
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.