#[repr(C)]pub struct _alpm_event_package_operation_t {
pub type_: alpm_event_type_t,
pub operation: alpm_package_operation_t,
pub oldpkg: *mut alpm_pkg_t,
pub newpkg: *mut alpm_pkg_t,
}
Expand description
A package operation event occurred.
Fields§
§type_: alpm_event_type_t
Type of event
operation: alpm_package_operation_t
Type of operation
oldpkg: *mut alpm_pkg_t
Old package
newpkg: *mut alpm_pkg_t
New package
Trait Implementations§
source§impl Clone for _alpm_event_package_operation_t
impl Clone for _alpm_event_package_operation_t
source§fn clone(&self) -> _alpm_event_package_operation_t
fn clone(&self) -> _alpm_event_package_operation_t
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 moreimpl Copy for _alpm_event_package_operation_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_event_package_operation_t
impl !Send for _alpm_event_package_operation_t
impl !Sync for _alpm_event_package_operation_t
impl Unpin for _alpm_event_package_operation_t
impl UnwindSafe for _alpm_event_package_operation_t
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