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§impl Serialize for PkgRelease
impl Serialize for PkgRelease
impl Eq for PkgRelease
impl StructuralPartialEq for PkgRelease
Auto Trait Implementations§
impl Freeze for PkgRelease
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
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.