Struct rebuilderd_common::PkgArtifact
source · pub struct PkgArtifact {
pub name: String,
pub version: String,
pub url: String,
}
Fields§
§name: String
§version: String
§url: String
Trait Implementations§
source§impl Clone for PkgArtifact
impl Clone for PkgArtifact
source§fn clone(&self) -> PkgArtifact
fn clone(&self) -> PkgArtifact
Returns a copy 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 PkgArtifact
impl Debug for PkgArtifact
source§impl<'de> Deserialize<'de> for PkgArtifact
impl<'de> Deserialize<'de> for PkgArtifact
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 PkgArtifact
impl PartialEq for PkgArtifact
source§fn eq(&self, other: &PkgArtifact) -> bool
fn eq(&self, other: &PkgArtifact) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PkgArtifact
impl Serialize for PkgArtifact
impl Eq for PkgArtifact
impl StructuralEq for PkgArtifact
impl StructuralPartialEq for PkgArtifact
Auto Trait Implementations§
impl RefUnwindSafe for PkgArtifact
impl Send for PkgArtifact
impl Sync for PkgArtifact
impl Unpin for PkgArtifact
impl UnwindSafe for PkgArtifact
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.