#[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 Freeze for _alpm_event_pacnew_created_t
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