pub struct GitLabPackageFile {
pub version: String,
pub filename: String,
pub url: String,
pub size: u64,
pub sha256: Option<String>,
pub created_at: String,
}Expand description
One file of one version of a generic package.
Fields§
§version: StringPackage version, e.g. 0.3 or latest.
filename: String§url: StringThe registry’s download URL for the file.
size: u64§sha256: Option<String>sha256 (hex), when GitLab reports one.
created_at: StringISO timestamp the package was created.
Trait Implementations§
Source§impl Clone for GitLabPackageFile
impl Clone for GitLabPackageFile
Source§impl Debug for GitLabPackageFile
impl Debug for GitLabPackageFile
Source§impl<'de> Deserialize<'de> for GitLabPackageFile
impl<'de> Deserialize<'de> for GitLabPackageFile
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
impl Eq for GitLabPackageFile
Source§impl PartialEq for GitLabPackageFile
impl PartialEq for GitLabPackageFile
Source§impl Serialize for GitLabPackageFile
impl Serialize for GitLabPackageFile
impl StructuralPartialEq for GitLabPackageFile
Auto Trait Implementations§
impl Forget for GitLabPackageFile
impl Freeze for GitLabPackageFile
impl Move for GitLabPackageFile
impl RefUnwindSafe for GitLabPackageFile
impl Send for GitLabPackageFile
impl Sync for GitLabPackageFile
impl Unpin for GitLabPackageFile
impl UnsafeUnpin for GitLabPackageFile
impl UnwindSafe for GitLabPackageFile
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.