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
§type SchemaType = PackageVersion
type SchemaType = PackageVersion
The type in a schema that this
QueryFragment
represents§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragment
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§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.