pub enum SearchField {
Name,
NameDesc,
Maintainer,
Depends,
MakeDepends,
OptDepends,
CheckDepends,
}Expand description
Represents a field to search by
Variants§
Name
Searches by name
NameDesc
Searches name and description
Maintainer
Searches by package maintainer
Depends
Searches for packages that depend on the given keywords
MakeDepends
Searches for packages that require the given keywords to be build
OptDepends
Searches for packages that optionally depend on the given keywords
CheckDepends
Searches for packages that require the given keywords to be present
Trait Implementations§
Source§impl Clone for SearchField
impl Clone for SearchField
Source§fn clone(&self) -> SearchField
fn clone(&self) -> SearchField
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 moreSource§impl Debug for SearchField
impl Debug for SearchField
impl Copy for SearchField
Auto Trait Implementations§
impl Freeze for SearchField
impl RefUnwindSafe for SearchField
impl Send for SearchField
impl Sync for SearchField
impl Unpin for SearchField
impl UnwindSafe for SearchField
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