pub struct GoogleCloudRunV2EmptyDirVolumeSource {
pub medium: Option<String>,
pub size_limit: Option<String>,
}
Expand description
In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
This type is not used in any activity, and only used as part of another schema.
Fields§
§medium: Option<String>
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
size_limit: Option<String>
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
Trait Implementations§
Source§impl Clone for GoogleCloudRunV2EmptyDirVolumeSource
impl Clone for GoogleCloudRunV2EmptyDirVolumeSource
Source§fn clone(&self) -> GoogleCloudRunV2EmptyDirVolumeSource
fn clone(&self) -> GoogleCloudRunV2EmptyDirVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudRunV2EmptyDirVolumeSource
impl Default for GoogleCloudRunV2EmptyDirVolumeSource
Source§fn default() -> GoogleCloudRunV2EmptyDirVolumeSource
fn default() -> GoogleCloudRunV2EmptyDirVolumeSource
Source§impl<'de> Deserialize<'de> for GoogleCloudRunV2EmptyDirVolumeSource
impl<'de> Deserialize<'de> for GoogleCloudRunV2EmptyDirVolumeSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudRunV2EmptyDirVolumeSource
Auto Trait Implementations§
impl Freeze for GoogleCloudRunV2EmptyDirVolumeSource
impl RefUnwindSafe for GoogleCloudRunV2EmptyDirVolumeSource
impl Send for GoogleCloudRunV2EmptyDirVolumeSource
impl Sync for GoogleCloudRunV2EmptyDirVolumeSource
impl Unpin for GoogleCloudRunV2EmptyDirVolumeSource
impl UnwindSafe for GoogleCloudRunV2EmptyDirVolumeSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more