Struct linux_perf_event_reader::ThrottleRecord
source · pub struct ThrottleRecord {
pub id: u64,
pub timestamp: u64,
}
Fields§
§id: u64
§timestamp: u64
Implementations§
Trait Implementations§
source§impl Clone for ThrottleRecord
impl Clone for ThrottleRecord
source§fn clone(&self) -> ThrottleRecord
fn clone(&self) -> ThrottleRecord
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 ThrottleRecord
impl Debug for ThrottleRecord
source§impl PartialEq for ThrottleRecord
impl PartialEq for ThrottleRecord
source§fn eq(&self, other: &ThrottleRecord) -> bool
fn eq(&self, other: &ThrottleRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ThrottleRecord
impl StructuralPartialEq for ThrottleRecord
Auto Trait Implementations§
impl RefUnwindSafe for ThrottleRecord
impl Send for ThrottleRecord
impl Sync for ThrottleRecord
impl Unpin for ThrottleRecord
impl UnwindSafe for ThrottleRecord
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