pub struct PackageQuery {
pub package: String,
pub version: String,
pub dbgsym: bool,
pub unsigned_fallback: bool,
}Expand description
Query parameters for looking up a package across all dists in an index.
Fields§
§package: StringDebian package name to match.
version: StringExact Version: field to match.
dbgsym: boolIf true, applies the dbgsym filter (no Depends field).
unsigned_fallback: boolIf true and the primary package name is not found, retries with the
linux-image-unsigned-* form (the linux-image- prefix is replaced
with linux-image-unsigned-).
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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