pub struct ServiceTaskSpecResourcesLimitsBuilder<___State = __ServiceTaskSpecResourcesLimitsBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__MemoryBytes, __NanoCpus> ServiceTaskSpecResourcesLimitsBuilder<(__MemoryBytes, __NanoCpus)>
impl<__MemoryBytes, __NanoCpus> ServiceTaskSpecResourcesLimitsBuilder<(__MemoryBytes, __NanoCpus)>
sourcepub fn build_struct(self) -> ServiceTaskSpecResourcesLimits
pub fn build_struct(self) -> ServiceTaskSpecResourcesLimits
Finishes building and returns the requested object.
sourcepub fn maybe_memory_bytes(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ServiceTaskSpecResourcesLimitsBuilderSetMember>::MemoryByteswhere
__MemoryBytes: IsUnset,
pub fn maybe_memory_bytes(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ServiceTaskSpecResourcesLimitsBuilderSetMember>::MemoryByteswhere
__MemoryBytes: IsUnset,
Same as [Self::r#memory_bytes
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn memory_bytes(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ServiceTaskSpecResourcesLimitsBuilderSetMember>::MemoryByteswhere
__MemoryBytes: IsUnset,
pub fn memory_bytes(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ServiceTaskSpecResourcesLimitsBuilderSetMember>::MemoryByteswhere
__MemoryBytes: IsUnset,
The amounf of memory in bytes the container allocates
Auto Trait Implementations§
impl<___State> Freeze for ServiceTaskSpecResourcesLimitsBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ServiceTaskSpecResourcesLimitsBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ServiceTaskSpecResourcesLimitsBuilder<___State>where
___State: Send,
impl<___State> Sync for ServiceTaskSpecResourcesLimitsBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ServiceTaskSpecResourcesLimitsBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ServiceTaskSpecResourcesLimitsBuilder<___State>where
___State: 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