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 ==
.impl StructuralPartialEq for GetFileInput
Auto Trait Implementations§
impl Freeze for GetFileInput
impl RefUnwindSafe for GetFileInput
impl Send for GetFileInput
impl Sync for GetFileInput
impl Unpin for GetFileInput
impl UnwindSafe for GetFileInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more