pub struct ViaBandwidthV1 {
pub raw_observed_bytes: u64,
pub remote_bytes_transferred: u64,
pub avoided_bytes: u64,
}Fields§
§raw_observed_bytes: u64§remote_bytes_transferred: u64§avoided_bytes: u64Implementations§
Source§impl ViaBandwidthV1
impl ViaBandwidthV1
pub fn from_contexts( contexts: &[ViaContextAttributionV1], ) -> Result<Self, ValidationError>
Trait Implementations§
Source§impl Clone for ViaBandwidthV1
impl Clone for ViaBandwidthV1
Source§impl Debug for ViaBandwidthV1
impl Debug for ViaBandwidthV1
Source§impl<'de> Deserialize<'de> for ViaBandwidthV1
impl<'de> Deserialize<'de> for ViaBandwidthV1
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 ViaBandwidthV1
Source§impl PartialEq for ViaBandwidthV1
impl PartialEq for ViaBandwidthV1
Source§impl Serialize for ViaBandwidthV1
impl Serialize for ViaBandwidthV1
impl StructuralPartialEq for ViaBandwidthV1
Auto Trait Implementations§
impl Forget for ViaBandwidthV1
impl Freeze for ViaBandwidthV1
impl Move for ViaBandwidthV1
impl RefUnwindSafe for ViaBandwidthV1
impl Send for ViaBandwidthV1
impl Sync for ViaBandwidthV1
impl Unpin for ViaBandwidthV1
impl UnsafeUnpin for ViaBandwidthV1
impl UnwindSafe for ViaBandwidthV1
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