Struct aws_sdk_codecommit::operation::get_file::GetFileInput
source · #[non_exhaustive]pub struct GetFileInput {
pub repository_name: Option<String>,
pub commit_specifier: Option<String>,
pub file_path: Option<String>,
}
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.repository_name: Option<String>
The name of the repository that contains the file.
commit_specifier: Option<String>
The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used.
file_path: Option<String>
The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.
Implementations§
source§impl GetFileInput
impl GetFileInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository that contains the file.
sourcepub fn commit_specifier(&self) -> Option<&str>
pub fn commit_specifier(&self) -> Option<&str>
The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used.
source§impl GetFileInput
impl GetFileInput
sourcepub fn builder() -> GetFileInputBuilder
pub fn builder() -> GetFileInputBuilder
Creates a new builder-style object to manufacture GetFileInput
.
Trait Implementations§
source§impl Clone for GetFileInput
impl Clone for GetFileInput
source§fn clone(&self) -> GetFileInput
fn clone(&self) -> GetFileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFileInput
impl Debug for GetFileInput
source§impl PartialEq for GetFileInput
impl PartialEq for GetFileInput
source§fn eq(&self, other: &GetFileInput) -> bool
fn eq(&self, other: &GetFileInput) -> bool
self
and other
values to be equal, and is used
by ==
.