pub struct Package {
pub id: Id,
pub package_name: String,
pub namespace: Option<String>,
pub last_version: Option<PackageVersion>,
pub private: bool,
}
Fields§
§id: Id
§package_name: String
§namespace: Option<String>
§last_version: Option<PackageVersion>
§private: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Package
impl<'de> Deserialize<'de> for Package
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 Package
impl QueryFragment for Package
Source§type SchemaType = Package
type SchemaType = Package
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 Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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