Struct aws_sdk_devicefarm::types::builders::TrialMinutesBuilder
source · #[non_exhaustive]pub struct TrialMinutesBuilder { /* private fields */ }Expand description
A builder for TrialMinutes.
Implementations§
source§impl TrialMinutesBuilder
impl TrialMinutesBuilder
sourcepub fn total(self, input: f64) -> Self
pub fn total(self, input: f64) -> Self
The total number of free trial minutes that the account started with.
sourcepub fn set_total(self, input: Option<f64>) -> Self
pub fn set_total(self, input: Option<f64>) -> Self
The total number of free trial minutes that the account started with.
sourcepub fn get_total(&self) -> &Option<f64>
pub fn get_total(&self) -> &Option<f64>
The total number of free trial minutes that the account started with.
sourcepub fn remaining(self, input: f64) -> Self
pub fn remaining(self, input: f64) -> Self
The number of free trial minutes remaining in the account.
sourcepub fn set_remaining(self, input: Option<f64>) -> Self
pub fn set_remaining(self, input: Option<f64>) -> Self
The number of free trial minutes remaining in the account.
sourcepub fn get_remaining(&self) -> &Option<f64>
pub fn get_remaining(&self) -> &Option<f64>
The number of free trial minutes remaining in the account.
sourcepub fn build(self) -> TrialMinutes
pub fn build(self) -> TrialMinutes
Consumes the builder and constructs a TrialMinutes.
Trait Implementations§
source§impl Clone for TrialMinutesBuilder
impl Clone for TrialMinutesBuilder
source§fn clone(&self) -> TrialMinutesBuilder
fn clone(&self) -> TrialMinutesBuilder
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 moresource§impl Debug for TrialMinutesBuilder
impl Debug for TrialMinutesBuilder
source§impl Default for TrialMinutesBuilder
impl Default for TrialMinutesBuilder
source§fn default() -> TrialMinutesBuilder
fn default() -> TrialMinutesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TrialMinutesBuilder
impl PartialEq for TrialMinutesBuilder
source§fn eq(&self, other: &TrialMinutesBuilder) -> bool
fn eq(&self, other: &TrialMinutesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TrialMinutesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TrialMinutesBuilder
impl Send for TrialMinutesBuilder
impl Sync for TrialMinutesBuilder
impl Unpin for TrialMinutesBuilder
impl UnwindSafe for TrialMinutesBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.