pub struct BalloonUpdate {
pub amount_mib: i64,
}
Expand description
Balloon device descriptor.
Fieldsยง
ยงamount_mib: i64
Target balloon size in MiB.
Trait Implementationsยง
Sourceยงimpl Clone for BalloonUpdate
impl Clone for BalloonUpdate
Sourceยงfn clone(&self) -> BalloonUpdate
fn clone(&self) -> BalloonUpdate
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 BalloonUpdate
impl Debug for BalloonUpdate
Sourceยงimpl<'de> Deserialize<'de> for BalloonUpdate
impl<'de> Deserialize<'de> for BalloonUpdate
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
Sourceยงimpl Hash for BalloonUpdate
impl Hash for BalloonUpdate
Sourceยงimpl Ord for BalloonUpdate
impl Ord for BalloonUpdate
Sourceยงfn cmp(&self, other: &BalloonUpdate) -> Ordering
fn cmp(&self, other: &BalloonUpdate) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for BalloonUpdate
impl PartialEq for BalloonUpdate
Sourceยงimpl PartialOrd for BalloonUpdate
impl PartialOrd for BalloonUpdate
Sourceยงimpl Serialize for BalloonUpdate
impl Serialize for BalloonUpdate
impl Eq for BalloonUpdate
impl StructuralPartialEq for BalloonUpdate
Auto Trait Implementationsยง
impl Freeze for BalloonUpdate
impl RefUnwindSafe for BalloonUpdate
impl Send for BalloonUpdate
impl Sync for BalloonUpdate
impl Unpin for BalloonUpdate
impl UnwindSafe for BalloonUpdate
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