pub struct Builder<T>(/* private fields */);
Expand description
A builder for FullResult
Implementations§
Source§impl Builder<SubscriptionIdStage>
impl Builder<SubscriptionIdStage>
Sourcepub fn subscription_id(
self,
subscription_id: SubscriptionId,
) -> Builder<ResultStage>
pub fn subscription_id( self, subscription_id: SubscriptionId, ) -> Builder<ResultStage>
Sets the subscription_id
field.
Source§impl Builder<ResultStage>
impl Builder<ResultStage>
Sourcepub fn result(self, result: ComputeWithUnitsResponse) -> Builder<Complete>
pub fn result(self, result: ComputeWithUnitsResponse) -> Builder<Complete>
Sets the result
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn subscription_id(self, subscription_id: SubscriptionId) -> Self
pub fn subscription_id(self, subscription_id: SubscriptionId) -> Self
Sets the subscription_id
field.
Sourcepub fn result(self, result: ComputeWithUnitsResponse) -> Self
pub fn result(self, result: ComputeWithUnitsResponse) -> Self
Sets the result
field.
Sourcepub fn build(self) -> FullResult
pub fn build(self) -> FullResult
Consumes the builder, returning a FullResult
.
Trait Implementations§
Source§impl Default for Builder<SubscriptionIdStage>
impl Default for Builder<SubscriptionIdStage>
Source§impl From<FullResult> for Builder<Complete>
impl From<FullResult> for Builder<Complete>
Source§fn from(v: FullResult) -> Self
fn from(v: FullResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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