Struct aws_sdk_transfer::types::HomeDirectoryMapEntry
source · #[non_exhaustive]pub struct HomeDirectoryMapEntry {
pub entry: String,
pub target: String,
}Expand description
Represents an object that contains entries and targets for HomeDirectoryMappings.
The following is an Entry and Target pair example for chroot.
[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entry: StringRepresents an entry for HomeDirectoryMappings.
target: StringRepresents the map target that is used in a HomeDirectorymapEntry.
Implementations§
source§impl HomeDirectoryMapEntry
impl HomeDirectoryMapEntry
sourcepub fn builder() -> HomeDirectoryMapEntryBuilder
pub fn builder() -> HomeDirectoryMapEntryBuilder
Creates a new builder-style object to manufacture HomeDirectoryMapEntry.
Trait Implementations§
source§impl Clone for HomeDirectoryMapEntry
impl Clone for HomeDirectoryMapEntry
source§fn clone(&self) -> HomeDirectoryMapEntry
fn clone(&self) -> HomeDirectoryMapEntry
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 HomeDirectoryMapEntry
impl Debug for HomeDirectoryMapEntry
source§impl PartialEq for HomeDirectoryMapEntry
impl PartialEq for HomeDirectoryMapEntry
source§fn eq(&self, other: &HomeDirectoryMapEntry) -> bool
fn eq(&self, other: &HomeDirectoryMapEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HomeDirectoryMapEntry
Auto Trait Implementations§
impl RefUnwindSafe for HomeDirectoryMapEntry
impl Send for HomeDirectoryMapEntry
impl Sync for HomeDirectoryMapEntry
impl Unpin for HomeDirectoryMapEntry
impl UnwindSafe for HomeDirectoryMapEntry
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.