#[non_exhaustive]pub struct BalloonUpdate {
pub amount_mib: u64,
}Expand description
Validated /balloon PATCH body.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.amount_mib: u64New target ballooned amount.
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 (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 BalloonUpdate
impl Debug for BalloonUpdate
Source§impl Serialize for BalloonUpdate
impl Serialize for BalloonUpdate
Source§impl TryFrom<RawBalloonUpdate> for BalloonUpdate
impl TryFrom<RawBalloonUpdate> 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 UnsafeUnpin 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