Struct rebuilderd_common::PkgRelease
source · pub struct PkgRelease {
pub name: String,
pub version: String,
pub status: Status,
pub distro: String,
pub suite: String,
pub architecture: String,
pub artifact_url: String,
pub build_id: Option<i32>,
pub built_at: Option<NaiveDateTime>,
pub has_diffoscope: bool,
pub has_attestation: bool,
}
Fields§
§name: String
§version: String
§status: Status
§distro: String
§suite: String
§architecture: String
§artifact_url: String
§build_id: Option<i32>
§built_at: Option<NaiveDateTime>
§has_diffoscope: bool
§has_attestation: bool
Implementations§
Trait Implementations§
source§impl Debug for PkgRelease
impl Debug for PkgRelease
source§impl<'de> Deserialize<'de> for PkgRelease
impl<'de> Deserialize<'de> for PkgRelease
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 PkgRelease
impl PartialEq for PkgRelease
source§fn eq(&self, other: &PkgRelease) -> bool
fn eq(&self, other: &PkgRelease) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PkgRelease
impl Serialize for PkgRelease
impl Eq for PkgRelease
impl StructuralEq for PkgRelease
impl StructuralPartialEq for PkgRelease
Auto Trait Implementations§
impl RefUnwindSafe for PkgRelease
impl Send for PkgRelease
impl Sync for PkgRelease
impl Unpin for PkgRelease
impl UnwindSafe for PkgRelease
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.