Struct transmission_sys::tr_session_stats
source · #[repr(C)]pub struct tr_session_stats {
pub ratio: f32,
pub uploadedBytes: u64,
pub downloadedBytes: u64,
pub filesAdded: u64,
pub sessionCount: u64,
pub secondsActive: u64,
}
Expand description
@brief Used by tr_sessionGetStats () and tr_sessionGetCumulativeStats ()
Fields
ratio: f32
uploadedBytes: u64
downloadedBytes: u64
filesAdded: u64
sessionCount: u64
secondsActive: u64
Trait Implementations
sourceimpl Clone for tr_session_stats
impl Clone for tr_session_stats
sourcefn clone(&self) -> tr_session_stats
fn clone(&self) -> tr_session_stats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for tr_session_stats
impl Debug for tr_session_stats
impl Copy for tr_session_stats
Auto Trait Implementations
impl RefUnwindSafe for tr_session_stats
impl Send for tr_session_stats
impl Sync for tr_session_stats
impl Unpin for tr_session_stats
impl UnwindSafe for tr_session_stats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more