Struct aws_sdk_codecommit::types::FileMetadata
source · #[non_exhaustive]pub struct FileMetadata {
pub absolute_path: Option<String>,
pub blob_id: Option<String>,
pub file_mode: Option<FileModeTypeEnum>,
}Expand description
A file to be added, updated, or deleted as part of a commit.
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.absolute_path: Option<String>The full path to the file to be added or updated, including the name of the file.
blob_id: Option<String>The blob ID that contains the file information.
file_mode: Option<FileModeTypeEnum>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
Implementations§
source§impl FileMetadata
impl FileMetadata
sourcepub fn absolute_path(&self) -> Option<&str>
pub fn absolute_path(&self) -> Option<&str>
The full path to the file to be added or updated, including the name of the file.
sourcepub fn file_mode(&self) -> Option<&FileModeTypeEnum>
pub fn file_mode(&self) -> Option<&FileModeTypeEnum>
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
source§impl FileMetadata
impl FileMetadata
sourcepub fn builder() -> FileMetadataBuilder
pub fn builder() -> FileMetadataBuilder
Creates a new builder-style object to manufacture FileMetadata.
Trait Implementations§
source§impl Clone for FileMetadata
impl Clone for FileMetadata
source§fn clone(&self) -> FileMetadata
fn clone(&self) -> FileMetadata
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 FileMetadata
impl Debug for FileMetadata
source§impl PartialEq<FileMetadata> for FileMetadata
impl PartialEq<FileMetadata> for FileMetadata
source§fn eq(&self, other: &FileMetadata) -> bool
fn eq(&self, other: &FileMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FileMetadata
Auto Trait Implementations§
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnwindSafe for FileMetadata
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