pub struct DesiredUpdatesBuilder { /* private fields */ }
Expand description
Builder for DesiredUpdates
.
Implementations§
Source§impl DesiredUpdatesBuilder
impl DesiredUpdatesBuilder
pub fn in_place_update(&mut self, value: u64) -> &mut Self
pub fn destructive_update(&mut self, value: u64) -> &mut Self
pub fn canary(&mut self, value: u64) -> &mut Self
pub fn preemptions(&mut self, value: u64) -> &mut Self
pub fn ignore(&mut self, value: u64) -> &mut Self
pub fn place(&mut self, value: u64) -> &mut Self
pub fn migrate(&mut self, value: u64) -> &mut Self
pub fn stop(&mut self, value: u64) -> &mut Self
Sourcepub fn build(&self) -> Result<DesiredUpdates, DesiredUpdatesBuilderError>
pub fn build(&self) -> Result<DesiredUpdates, DesiredUpdatesBuilderError>
Trait Implementations§
Source§impl Clone for DesiredUpdatesBuilder
impl Clone for DesiredUpdatesBuilder
Source§fn clone(&self) -> DesiredUpdatesBuilder
fn clone(&self) -> DesiredUpdatesBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DesiredUpdatesBuilder
impl RefUnwindSafe for DesiredUpdatesBuilder
impl Send for DesiredUpdatesBuilder
impl Sync for DesiredUpdatesBuilder
impl Unpin for DesiredUpdatesBuilder
impl UnwindSafe for DesiredUpdatesBuilder
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