Struct gitlab_client::GenericPackageFile
source · pub struct GenericPackageFile {Show 20 fields
pub id: u64,
pub package_id: u64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub size: u64,
pub file_store: u64,
pub file_md5: Option<String>,
pub file_sha1: Option<String>,
pub file_name: String,
pub file: GitlabFile,
pub file_sha256: Option<String>,
pub verification_retry_at: Option<DateTime<Utc>>,
pub verified_at: Option<DateTime<Utc>>,
pub verification_failure: Option<String>,
pub verification_retry_count: Option<u64>,
pub verification_checksum: Option<String>,
pub verification_state: u64,
pub verification_started_at: Option<DateTime<Utc>>,
pub status: String,
pub new_file_path: Option<String>,
}Fields§
§id: u64§package_id: u64§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§size: u64§file_store: u64§file_md5: Option<String>§file_sha1: Option<String>§file_name: String§file: GitlabFile§file_sha256: Option<String>§verification_retry_at: Option<DateTime<Utc>>§verified_at: Option<DateTime<Utc>>§verification_failure: Option<String>§verification_retry_count: Option<u64>§verification_checksum: Option<String>§verification_state: u64§verification_started_at: Option<DateTime<Utc>>§status: String§new_file_path: Option<String>Trait Implementations§
source§impl Clone for GenericPackageFile
impl Clone for GenericPackageFile
source§fn clone(&self) -> GenericPackageFile
fn clone(&self) -> GenericPackageFile
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 GenericPackageFile
impl Debug for GenericPackageFile
source§impl<'de> Deserialize<'de> for GenericPackageFile
impl<'de> Deserialize<'de> for GenericPackageFile
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 Hash for GenericPackageFile
impl Hash for GenericPackageFile
source§impl Ord for GenericPackageFile
impl Ord for GenericPackageFile
source§fn cmp(&self, other: &GenericPackageFile) -> Ordering
fn cmp(&self, other: &GenericPackageFile) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GenericPackageFile
impl PartialEq for GenericPackageFile
source§fn eq(&self, other: &GenericPackageFile) -> bool
fn eq(&self, other: &GenericPackageFile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GenericPackageFile
impl PartialOrd for GenericPackageFile
source§fn partial_cmp(&self, other: &GenericPackageFile) -> Option<Ordering>
fn partial_cmp(&self, other: &GenericPackageFile) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for GenericPackageFile
impl Serialize for GenericPackageFile
impl Eq for GenericPackageFile
impl StructuralEq for GenericPackageFile
impl StructuralPartialEq for GenericPackageFile
Auto Trait Implementations§
impl RefUnwindSafe for GenericPackageFile
impl Send for GenericPackageFile
impl Sync for GenericPackageFile
impl Unpin for GenericPackageFile
impl UnwindSafe for GenericPackageFile
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.