pub struct PackageVersionWithPackage {
pub id: Id,
pub version: String,
pub created_at: DateTime,
pub pirita_manifest: Option<JSONString>,
pub package: Package,
pub distribution_v3: PackageDistribution,
pub distribution_v2: PackageDistribution,
}
Fields§
§id: Id
§version: String
§created_at: DateTime
§pirita_manifest: Option<JSONString>
§package: Package
§distribution_v3: PackageDistribution
§distribution_v2: PackageDistribution
Trait Implementations§
Source§impl Clone for PackageVersionWithPackage
impl Clone for PackageVersionWithPackage
Source§fn clone(&self) -> PackageVersionWithPackage
fn clone(&self) -> PackageVersionWithPackage
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 PackageVersionWithPackage
impl Debug for PackageVersionWithPackage
Source§impl<'de> Deserialize<'de> for PackageVersionWithPackage
impl<'de> Deserialize<'de> for PackageVersionWithPackage
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 QueryFragment for PackageVersionWithPackage
impl QueryFragment for PackageVersionWithPackage
Source§type SchemaType = PackageVersion
type SchemaType = PackageVersion
The type in a schema that this
QueryFragment
representsSource§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragment
Source§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
Adds this fragment to the query being built by
builder
Auto Trait Implementations§
impl Freeze for PackageVersionWithPackage
impl RefUnwindSafe for PackageVersionWithPackage
impl Send for PackageVersionWithPackage
impl Sync for PackageVersionWithPackage
impl Unpin for PackageVersionWithPackage
impl UnwindSafe for PackageVersionWithPackage
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