pub struct Entry<'a, Querier> { /* private fields */ }Expand description
Implementations§
Source§impl<'a, Querier> Entry<'a, Querier>
impl<'a, Querier> Entry<'a, Querier>
Sourcepub fn into_tuple(self) -> (Name<'a>, Querier)
pub fn into_tuple(self) -> (Name<'a>, Querier)
Dissolve the entry into an owned tuple name and querier.
Sourcepub fn querier_mut(&mut self) -> &mut Querier
pub fn querier_mut(&mut self) -> &mut Querier
Get a mutable reference to the querier inside.
Sourcepub fn into_querier(self) -> Querier
pub fn into_querier(self) -> Querier
Get the owned querier inside.
Trait Implementations§
Source§impl<'a, Querier> Query<'a> for Entry<'a, Querier>where
Querier: Query<'a>,
impl<'a, Querier> Query<'a> for Entry<'a, Querier>where
Querier: Query<'a>,
fn query_raw_text(&self, field: ParsedField) -> Option<&'a str>
fn name(&self) -> Option<Name<'a>>
fn file_name(&self) -> Option<FileName<'a>>
fn base(&self) -> Option<Base<'a>>
fn version(&self) -> Option<Version<'a>>
fn description(&self) -> Option<Description<'a>>
fn groups(&self) -> Option<GroupList<'a>>
fn compressed_size(&self) -> Option<Size<'a>>
fn installed_size(&self) -> Option<Size<'a>>
fn md5_checksum(&self) -> Option<Hex128<'a>>
fn sha256_checksum(&self) -> Option<Hex256<'a>>
fn pgp_signature(&self) -> Option<PgpSignature<'a>>
fn url(&self) -> Option<Url<'a>>
fn license(&self) -> Option<LicenseList<'a>>
fn architecture(&self) -> Option<ArchitectureList<'a>>
fn build_date(&self) -> Option<Timestamp<'a>>
fn packager(&self) -> Option<Packager<'a>>
fn dependencies(&self) -> Option<DependencyList<'a>>
fn make_dependencies(&self) -> Option<DependencyList<'a>>
fn check_dependencies(&self) -> Option<DependencyList<'a>>
fn opt_dependencies(&self) -> Option<DependencyAndReasonList<'a>>
fn provides(&self) -> Option<DependencyList<'a>>
fn conflicts(&self) -> Option<DependencyList<'a>>
fn replaces(&self) -> Option<DependencyList<'a>>
Source§impl<'a, Querier> QueryMut<'a> for Entry<'a, Querier>where
Querier: QueryMut<'a>,
impl<'a, Querier> QueryMut<'a> for Entry<'a, Querier>where
Querier: QueryMut<'a>,
fn query_raw_text_mut(&mut self, field: ParsedField) -> Option<&'a str>
fn name_mut(&mut self) -> Option<Name<'a>>
fn file_name_mut(&mut self) -> Option<FileName<'a>>
fn base_mut(&mut self) -> Option<Base<'a>>
fn version_mut(&mut self) -> Option<Version<'a>>
fn description_mut(&mut self) -> Option<Description<'a>>
fn groups_mut(&mut self) -> Option<GroupList<'a>>
fn compressed_size_mut(&mut self) -> Option<Size<'a>>
fn installed_size_mut(&mut self) -> Option<Size<'a>>
fn md5_checksum_mut(&mut self) -> Option<Hex128<'a>>
fn sha256_checksum_mut(&mut self) -> Option<Hex256<'a>>
fn pgp_signature_mut(&mut self) -> Option<PgpSignature<'a>>
fn url_mut(&mut self) -> Option<Url<'a>>
fn license_mut(&mut self) -> Option<LicenseList<'a>>
fn architecture_mut(&mut self) -> Option<ArchitectureList<'a>>
fn build_date_mut(&mut self) -> Option<Timestamp<'a>>
fn packager_mut(&mut self) -> Option<Packager<'a>>
fn dependencies_mut(&mut self) -> Option<DependencyList<'a>>
fn make_dependencies_mut(&mut self) -> Option<DependencyList<'a>>
fn check_dependencies_mut(&mut self) -> Option<DependencyList<'a>>
fn opt_dependencies_mut(&mut self) -> Option<DependencyAndReasonList<'a>>
fn provides_mut(&mut self) -> Option<DependencyList<'a>>
fn conflicts_mut(&mut self) -> Option<DependencyList<'a>>
fn replaces_mut(&mut self) -> Option<DependencyList<'a>>
impl<'a, Querier: Copy> Copy for Entry<'a, Querier>
impl<'a, Querier: Eq> Eq for Entry<'a, Querier>
impl<'a, Querier> StructuralPartialEq for Entry<'a, Querier>
Auto Trait Implementations§
impl<'a, Querier> Freeze for Entry<'a, Querier>where
Querier: Freeze,
impl<'a, Querier> RefUnwindSafe for Entry<'a, Querier>where
Querier: RefUnwindSafe,
impl<'a, Querier> Send for Entry<'a, Querier>where
Querier: Send,
impl<'a, Querier> Sync for Entry<'a, Querier>where
Querier: Sync,
impl<'a, Querier> Unpin for Entry<'a, Querier>where
Querier: Unpin,
impl<'a, Querier> UnwindSafe for Entry<'a, Querier>where
Querier: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Main> IntoAttached for Main
impl<Main> IntoAttached for Main
Source§fn into_attached<Attachment>(
self,
attachment: Attachment,
) -> Attached<Self, Attachment>
fn into_attached<Attachment>( self, attachment: Attachment, ) -> Attached<Self, Attachment>
Attach metadata to an object.
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 moreSource§impl<T> Is for T
impl<T> Is for T
type Type = T
fn into_val(self) -> <T as Is>::Type
fn into_ref(&self) -> &<T as Is>::Type
fn into_mut_ref(&mut self) -> &mut <T as Is>::Type
fn from_val(x: <T as Is>::Type) -> T
fn from_ref(x: &<T as Is>::Type) -> &T
fn from_mut_ref(x: &mut <T as Is>::Type) -> &mut T
Source§impl<X> Pipe for X
impl<X> Pipe for X
Source§fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
Source§fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
Source§fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read moreSource§fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read moreSource§fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read moreSource§fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Target = Param>. Read moreSource§fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read moreSource§fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Return
fn pipe_borrow_mut<'a, Param, Return, Function>( &'a mut self, f: Function, ) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more