pub struct OperatorUtilizationSnapshotResponseBuilder { /* private fields */ }
Expand description
Builder for OperatorUtilizationSnapshotResponse
.
Implementations§
Source§impl OperatorUtilizationSnapshotResponseBuilder
impl OperatorUtilizationSnapshotResponseBuilder
Sourcepub fn bundle(&mut self, value: Vec<u8>) -> &mut Self
pub fn bundle(&mut self, value: Vec<u8>) -> &mut Self
Bundle is the JSON serialized utilization reporting bundle.
Sourcepub fn build(
&self,
) -> Result<OperatorUtilizationSnapshotResponse, OperatorUtilizationSnapshotResponseBuilderError>
pub fn build( &self, ) -> Result<OperatorUtilizationSnapshotResponse, OperatorUtilizationSnapshotResponseBuilderError>
Builds a new OperatorUtilizationSnapshotResponse
.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for OperatorUtilizationSnapshotResponseBuilder
impl Clone for OperatorUtilizationSnapshotResponseBuilder
Source§fn clone(&self) -> OperatorUtilizationSnapshotResponseBuilder
fn clone(&self) -> OperatorUtilizationSnapshotResponseBuilder
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 moreAuto Trait Implementations§
impl Freeze for OperatorUtilizationSnapshotResponseBuilder
impl RefUnwindSafe for OperatorUtilizationSnapshotResponseBuilder
impl Send for OperatorUtilizationSnapshotResponseBuilder
impl Sync for OperatorUtilizationSnapshotResponseBuilder
impl Unpin for OperatorUtilizationSnapshotResponseBuilder
impl UnwindSafe for OperatorUtilizationSnapshotResponseBuilder
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