pub struct BandwidthBucketDTO { /* private fields */ }Implementations§
Source§impl BandwidthBucketDTO
impl BandwidthBucketDTO
pub fn new(bucket_timestamp: i64, total_bytes: i64) -> Self
pub fn get_bucket_timestamp(&self) -> i64
pub fn get_total_bytes(&self) -> i64
Trait Implementations§
Source§impl Clone for BandwidthBucketDTO
impl Clone for BandwidthBucketDTO
Source§fn clone(&self) -> BandwidthBucketDTO
fn clone(&self) -> BandwidthBucketDTO
Returns a duplicate 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 BandwidthBucketDTO
impl Debug for BandwidthBucketDTO
Source§impl PartialEq for BandwidthBucketDTO
impl PartialEq for BandwidthBucketDTO
Source§impl Typed for BandwidthBucketDTO
impl Typed for BandwidthBucketDTO
impl API for BandwidthBucketDTO
impl Eq for BandwidthBucketDTO
impl StructuralPartialEq for BandwidthBucketDTO
Auto Trait Implementations§
impl Freeze for BandwidthBucketDTO
impl RefUnwindSafe for BandwidthBucketDTO
impl Send for BandwidthBucketDTO
impl Sync for BandwidthBucketDTO
impl Unpin for BandwidthBucketDTO
impl UnwindSafe for BandwidthBucketDTO
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