Enum aur_rpc::SearchField
source · 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
sourceimpl Clone for SearchField
impl Clone for SearchField
sourcefn clone(&self) -> SearchField
fn clone(&self) -> SearchField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SearchField
impl Debug for SearchField
impl Copy for SearchField
Auto Trait Implementations
impl RefUnwindSafe for SearchField
impl Send for SearchField
impl Sync for SearchField
impl Unpin for SearchField
impl UnwindSafe for SearchField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more