pub struct RegistryPackageVersion {
pub id: Uuid,
pub package_id: Uuid,
pub version: String,
pub artifact: Value,
pub tarball: String,
pub checksum: String,
pub is_yanked: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Registry package version information
Fields§
§id: Uuid§package_id: Uuid§version: String§artifact: Value§tarball: String§checksum: String§is_yanked: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for RegistryPackageVersion
impl Clone for RegistryPackageVersion
Source§fn clone(&self) -> RegistryPackageVersion
fn clone(&self) -> RegistryPackageVersion
Returns a duplicate 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 RegistryPackageVersion
impl Debug for RegistryPackageVersion
Source§impl<'de> Deserialize<'de> for RegistryPackageVersion
impl<'de> Deserialize<'de> for RegistryPackageVersion
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 RegistryPackageVersion
impl RefUnwindSafe for RegistryPackageVersion
impl Send for RegistryPackageVersion
impl Sync for RegistryPackageVersion
impl Unpin for RegistryPackageVersion
impl UnsafeUnpin for RegistryPackageVersion
impl UnwindSafe for RegistryPackageVersion
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