pub struct UsageTotal {
pub sessions: u64,
pub browser_seconds: u64,
pub proxy_bytes_in: u64,
pub proxy_bytes_out: u64,
pub proxy_bytes_unclassified: u64,
pub cost: UsageCost,
}Fields§
§sessions: u64§browser_seconds: u64§proxy_bytes_in: u64§proxy_bytes_out: u64§proxy_bytes_unclassified: u64Provider-reported proxy traffic without a trustworthy directional split.
cost: UsageCostImplementations§
Source§impl UsageTotal
impl UsageTotal
pub fn browser_minutes(&self) -> f64
pub fn proxy_gb_in(&self) -> f64
pub fn proxy_gb_out(&self) -> f64
pub fn proxy_gb_unclassified(&self) -> f64
pub fn proxy_gb_total(&self) -> f64
Trait Implementations§
Source§impl Clone for UsageTotal
impl Clone for UsageTotal
Source§fn clone(&self) -> UsageTotal
fn clone(&self) -> UsageTotal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UsageTotal
impl Debug for UsageTotal
Source§impl Default for UsageTotal
impl Default for UsageTotal
Source§fn default() -> UsageTotal
fn default() -> UsageTotal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageTotal
impl<'de> Deserialize<'de> for UsageTotal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UsageTotal
Source§impl PartialEq for UsageTotal
impl PartialEq for UsageTotal
Source§impl Serialize for UsageTotal
impl Serialize for UsageTotal
impl StructuralPartialEq for UsageTotal
Auto Trait Implementations§
impl Freeze for UsageTotal
impl RefUnwindSafe for UsageTotal
impl Send for UsageTotal
impl Sync for UsageTotal
impl Unpin for UsageTotal
impl UnsafeUnpin for UsageTotal
impl UnwindSafe for UsageTotal
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