pub struct VersionMetaResponse {
pub manifest: ManifestData,
pub checksum: String,
pub download_url: String,
}Expand description
Response body for GET /packages/{name}/{version}.
Fields§
§manifest: ManifestDataSubset of the package manifest relevant for resolution.
checksum: StringSHA-256 digest of the tarball, optionally prefixed with "sha256:".
download_url: StringURL from which the tarball can be fetched. If empty, the default
/packages/{name}/{version}/download endpoint is used.
Trait Implementations§
Source§impl Clone for VersionMetaResponse
impl Clone for VersionMetaResponse
Source§fn clone(&self) -> VersionMetaResponse
fn clone(&self) -> VersionMetaResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionMetaResponse
impl Debug for VersionMetaResponse
Source§impl<'de> Deserialize<'de> for VersionMetaResponse
impl<'de> Deserialize<'de> for VersionMetaResponse
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
Auto Trait Implementations§
impl Freeze for VersionMetaResponse
impl RefUnwindSafe for VersionMetaResponse
impl Send for VersionMetaResponse
impl Sync for VersionMetaResponse
impl Unpin for VersionMetaResponse
impl UnsafeUnpin for VersionMetaResponse
impl UnwindSafe for VersionMetaResponse
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