Struct aws_sdk_codecommit::model::PutFileEntry
source · [−]#[non_exhaustive]pub struct PutFileEntry {
pub file_path: Option<String>,
pub file_mode: Option<FileModeTypeEnum>,
pub file_content: Option<Blob>,
pub source_file: Option<SourceFileSpecifier>,
}
Expand description
Information about a file added or updated as part of a commit.
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.file_path: Option<String>
The full path to the file in the repository, including the name of the file.
file_mode: Option<FileModeTypeEnum>
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
file_content: Option<Blob>
The content of the file, if a source file is not specified.
source_file: Option<SourceFileSpecifier>
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
Implementations
The full path to the file in the repository, including the name of the file.
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
The content of the file, if a source file is not specified.
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
Creates a new builder-style object to manufacture PutFileEntry
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PutFileEntry
impl Send for PutFileEntry
impl Sync for PutFileEntry
impl Unpin for PutFileEntry
impl UnwindSafe for PutFileEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more