Struct aws_sdk_greengrassv2::model::LambdaVolumeMount
source · [−]#[non_exhaustive]pub struct LambdaVolumeMount {
pub source_path: Option<String>,
pub destination_path: Option<String>,
pub permission: Option<LambdaFilesystemPermission>,
pub add_group_owner: Option<bool>,
}
Expand description
Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_path: Option<String>
The path to the physical volume in the file system.
destination_path: Option<String>
The path to the logical volume in the file system.
permission: Option<LambdaFilesystemPermission>
The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
add_group_owner: Option<bool>
Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default: false
Implementations
sourceimpl LambdaVolumeMount
impl LambdaVolumeMount
sourcepub fn source_path(&self) -> Option<&str>
pub fn source_path(&self) -> Option<&str>
The path to the physical volume in the file system.
sourcepub fn destination_path(&self) -> Option<&str>
pub fn destination_path(&self) -> Option<&str>
The path to the logical volume in the file system.
sourcepub fn permission(&self) -> Option<&LambdaFilesystemPermission>
pub fn permission(&self) -> Option<&LambdaFilesystemPermission>
The permission to access the volume: read/only (ro
) or read/write (rw
).
Default: ro
sourcepub fn add_group_owner(&self) -> Option<bool>
pub fn add_group_owner(&self) -> Option<bool>
Whether or not to add the IoT Greengrass user group as an owner of the volume.
Default: false
sourceimpl LambdaVolumeMount
impl LambdaVolumeMount
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LambdaVolumeMount
Trait Implementations
sourceimpl Clone for LambdaVolumeMount
impl Clone for LambdaVolumeMount
sourcefn clone(&self) -> LambdaVolumeMount
fn clone(&self) -> LambdaVolumeMount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LambdaVolumeMount
impl Debug for LambdaVolumeMount
sourceimpl PartialEq<LambdaVolumeMount> for LambdaVolumeMount
impl PartialEq<LambdaVolumeMount> for LambdaVolumeMount
sourcefn eq(&self, other: &LambdaVolumeMount) -> bool
fn eq(&self, other: &LambdaVolumeMount) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LambdaVolumeMount) -> bool
fn ne(&self, other: &LambdaVolumeMount) -> bool
This method tests for !=
.
impl StructuralPartialEq for LambdaVolumeMount
Auto Trait Implementations
impl RefUnwindSafe for LambdaVolumeMount
impl Send for LambdaVolumeMount
impl Sync for LambdaVolumeMount
impl Unpin for LambdaVolumeMount
impl UnwindSafe for LambdaVolumeMount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more