Struct alpm_sys::_alpm_event_pacnew_created_t
source · #[repr(C)]pub struct _alpm_event_pacnew_created_t {
pub type_: alpm_event_type_t,
pub from_noupgrade: c_int,
pub oldpkg: *mut alpm_pkg_t,
pub newpkg: *mut alpm_pkg_t,
pub file: *const c_char,
}
Expand description
A pacnew file was created.
Fields§
§type_: alpm_event_type_t
Type of event
from_noupgrade: c_int
Whether the creation was result of a NoUpgrade or not
oldpkg: *mut alpm_pkg_t
Old package
newpkg: *mut alpm_pkg_t
New Package
file: *const c_char
Filename of the file without the .pacnew suffix
Trait Implementations§
source§impl Clone for _alpm_event_pacnew_created_t
impl Clone for _alpm_event_pacnew_created_t
source§fn clone(&self) -> _alpm_event_pacnew_created_t
fn clone(&self) -> _alpm_event_pacnew_created_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 moresource§impl Debug for _alpm_event_pacnew_created_t
impl Debug for _alpm_event_pacnew_created_t
impl Copy for _alpm_event_pacnew_created_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_event_pacnew_created_t
impl !Send for _alpm_event_pacnew_created_t
impl !Sync for _alpm_event_pacnew_created_t
impl Unpin for _alpm_event_pacnew_created_t
impl UnwindSafe for _alpm_event_pacnew_created_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