Struct aws_sdk_codecommit::operation::get_folder::GetFolderInput
source · #[non_exhaustive]pub struct GetFolderInput {
pub repository_name: Option<String>,
pub commit_specifier: Option<String>,
pub folder_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.
commit_specifier: Option<String>A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.
folder_path: Option<String>The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.
Implementations§
source§impl GetFolderInput
impl GetFolderInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository.
sourcepub fn commit_specifier(&self) -> Option<&str>
pub fn commit_specifier(&self) -> Option<&str>
A fully qualified reference used to identify a commit that contains the version of the folder's content to return. A fully qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content is returned as it exists in the HEAD commit.
sourcepub fn folder_path(&self) -> Option<&str>
pub fn folder_path(&self) -> Option<&str>
The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.
source§impl GetFolderInput
impl GetFolderInput
sourcepub fn builder() -> GetFolderInputBuilder
pub fn builder() -> GetFolderInputBuilder
Creates a new builder-style object to manufacture GetFolderInput.
Trait Implementations§
source§impl Clone for GetFolderInput
impl Clone for GetFolderInput
source§fn clone(&self) -> GetFolderInput
fn clone(&self) -> GetFolderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetFolderInput
impl Debug for GetFolderInput
source§impl PartialEq for GetFolderInput
impl PartialEq for GetFolderInput
source§fn eq(&self, other: &GetFolderInput) -> bool
fn eq(&self, other: &GetFolderInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetFolderInput
Auto Trait Implementations§
impl Freeze for GetFolderInput
impl RefUnwindSafe for GetFolderInput
impl Send for GetFolderInput
impl Sync for GetFolderInput
impl Unpin for GetFolderInput
impl UnwindSafe for GetFolderInput
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