pub struct PackageQuery {Show 17 fields
pub query: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub moniker: Option<String>,
pub tag: Option<String>,
pub command: Option<String>,
pub source: Option<String>,
pub count: Option<usize>,
pub exact: bool,
pub version: Option<String>,
pub channel: Option<String>,
pub locale: Option<String>,
pub installer_type: Option<String>,
pub installer_architecture: Option<String>,
pub platform: Option<String>,
pub os_version: Option<String>,
pub install_scope: Option<String>,
}Fields§
§query: Option<String>§id: Option<String>§name: Option<String>§moniker: Option<String>§tag: Option<String>§command: Option<String>§source: Option<String>§count: Option<usize>§exact: bool§version: Option<String>§channel: Option<String>§locale: Option<String>§installer_type: Option<String>§installer_architecture: Option<String>§platform: Option<String>§os_version: Option<String>§install_scope: Option<String>Trait Implementations§
Source§impl Clone for PackageQuery
impl Clone for PackageQuery
Source§fn clone(&self) -> PackageQuery
fn clone(&self) -> PackageQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackageQuery
impl Debug for PackageQuery
Source§impl Default for PackageQuery
impl Default for PackageQuery
Source§fn default() -> PackageQuery
fn default() -> PackageQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageQuery
impl RefUnwindSafe for PackageQuery
impl Send for PackageQuery
impl Sync for PackageQuery
impl Unpin for PackageQuery
impl UnsafeUnpin for PackageQuery
impl UnwindSafe for PackageQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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