pub struct PackageDistribution {
pub pirita_sha256_hash: Option<String>,
pub pirita_download_url: Option<String>,
pub download_url: Option<String>,
pub size: Option<i32>,
pub pirita_size: Option<i32>,
pub webc_version: Option<WebcVersion>,
pub webc_manifest: Option<JSONString>,
}
Fields§
§pirita_sha256_hash: Option<String>
§pirita_download_url: Option<String>
§download_url: Option<String>
§size: Option<i32>
§pirita_size: Option<i32>
§webc_version: Option<WebcVersion>
§webc_manifest: Option<JSONString>
Trait Implementations§
Source§impl Clone for PackageDistribution
impl Clone for PackageDistribution
Source§fn clone(&self) -> PackageDistribution
fn clone(&self) -> PackageDistribution
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 PackageDistribution
impl Debug for PackageDistribution
Source§impl<'de> Deserialize<'de> for PackageDistribution
impl<'de> Deserialize<'de> for PackageDistribution
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 PackageDistribution
impl QueryFragment for PackageDistribution
Source§type SchemaType = PackageDistribution
type SchemaType = PackageDistribution
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 PackageDistribution
impl RefUnwindSafe for PackageDistribution
impl Send for PackageDistribution
impl Sync for PackageDistribution
impl Unpin for PackageDistribution
impl UnwindSafe for PackageDistribution
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