Struct aws_sdk_deadline::types::PathMappingRule
source · #[non_exhaustive]pub struct PathMappingRule {
pub source_path_format: PathFormat,
pub source_path: String,
pub destination_path: String,
}Expand description
The details of a source and destination path.
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.source_path_format: PathFormatThe source path format.
source_path: StringThe source path.
destination_path: StringThe destination path.
Implementations§
source§impl PathMappingRule
impl PathMappingRule
sourcepub fn source_path_format(&self) -> &PathFormat
pub fn source_path_format(&self) -> &PathFormat
The source path format.
sourcepub fn source_path(&self) -> &str
pub fn source_path(&self) -> &str
The source path.
sourcepub fn destination_path(&self) -> &str
pub fn destination_path(&self) -> &str
The destination path.
source§impl PathMappingRule
impl PathMappingRule
sourcepub fn builder() -> PathMappingRuleBuilder
pub fn builder() -> PathMappingRuleBuilder
Creates a new builder-style object to manufacture PathMappingRule.
Trait Implementations§
source§impl Clone for PathMappingRule
impl Clone for PathMappingRule
source§fn clone(&self) -> PathMappingRule
fn clone(&self) -> PathMappingRule
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 PathMappingRule
impl Debug for PathMappingRule
source§impl PartialEq for PathMappingRule
impl PartialEq for PathMappingRule
source§fn eq(&self, other: &PathMappingRule) -> bool
fn eq(&self, other: &PathMappingRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PathMappingRule
Auto Trait Implementations§
impl Freeze for PathMappingRule
impl RefUnwindSafe for PathMappingRule
impl Send for PathMappingRule
impl Sync for PathMappingRule
impl Unpin for PathMappingRule
impl UnwindSafe for PathMappingRule
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.