pub struct PlanAnnotationsBuilder { /* private fields */ }
Expand description
Builder for PlanAnnotations
.
Implementations§
Source§impl PlanAnnotationsBuilder
impl PlanAnnotationsBuilder
pub fn preempted_allocs(&mut self, value: Vec<AllocationListStub>) -> &mut Self
pub fn desired_tg_updates( &mut self, value: HashMap<String, DesiredUpdates>, ) -> &mut Self
Sourcepub fn build(&self) -> Result<PlanAnnotations, PlanAnnotationsBuilderError>
pub fn build(&self) -> Result<PlanAnnotations, PlanAnnotationsBuilderError>
Trait Implementations§
Source§impl Clone for PlanAnnotationsBuilder
impl Clone for PlanAnnotationsBuilder
Source§fn clone(&self) -> PlanAnnotationsBuilder
fn clone(&self) -> PlanAnnotationsBuilder
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 PlanAnnotationsBuilder
impl RefUnwindSafe for PlanAnnotationsBuilder
impl Send for PlanAnnotationsBuilder
impl Sync for PlanAnnotationsBuilder
impl Unpin for PlanAnnotationsBuilder
impl UnwindSafe for PlanAnnotationsBuilder
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