pub struct Bandwidth {
pub download_speed: Option<i64>,
pub upload_speed: Option<i64>,
}
Expand description
Describes bandwidth information.
Fields§
§download_speed: Option<i64>
Download speed in Mbps.
upload_speed: Option<i64>
Upload speed in Mbps.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bandwidth
impl<'de> Deserialize<'de> for Bandwidth
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 StructuralPartialEq for Bandwidth
Auto Trait Implementations§
impl Freeze for Bandwidth
impl RefUnwindSafe for Bandwidth
impl Send for Bandwidth
impl Sync for Bandwidth
impl Unpin for Bandwidth
impl UnwindSafe for Bandwidth
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