Struct alpm::DownloadEventCompleted
source · pub struct DownloadEventCompleted {
pub total: i64,
pub result: DownloadResult,
}
Fields§
§total: i64
§result: DownloadResult
Trait Implementations§
source§impl Clone for DownloadEventCompleted
impl Clone for DownloadEventCompleted
source§fn clone(&self) -> DownloadEventCompleted
fn clone(&self) -> DownloadEventCompleted
Returns a copy 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 DownloadEventCompleted
impl Debug for DownloadEventCompleted
source§impl Hash for DownloadEventCompleted
impl Hash for DownloadEventCompleted
source§impl Ord for DownloadEventCompleted
impl Ord for DownloadEventCompleted
source§fn cmp(&self, other: &DownloadEventCompleted) -> Ordering
fn cmp(&self, other: &DownloadEventCompleted) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DownloadEventCompleted
impl PartialEq for DownloadEventCompleted
source§fn eq(&self, other: &DownloadEventCompleted) -> bool
fn eq(&self, other: &DownloadEventCompleted) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DownloadEventCompleted
impl PartialOrd for DownloadEventCompleted
source§fn partial_cmp(&self, other: &DownloadEventCompleted) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadEventCompleted) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DownloadEventCompleted
impl Eq for DownloadEventCompleted
impl StructuralPartialEq for DownloadEventCompleted
Auto Trait Implementations§
impl RefUnwindSafe for DownloadEventCompleted
impl Send for DownloadEventCompleted
impl Sync for DownloadEventCompleted
impl Unpin for DownloadEventCompleted
impl UnwindSafe for DownloadEventCompleted
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