Struct aws_sdk_codecommit::output::GetFolderOutput
source · [−]#[non_exhaustive]pub struct GetFolderOutput {
pub commit_id: Option<String>,
pub folder_path: Option<String>,
pub tree_id: Option<String>,
pub sub_folders: Option<Vec<Folder>>,
pub files: Option<Vec<File>>,
pub symbolic_links: Option<Vec<SymbolicLink>>,
pub sub_modules: Option<Vec<SubModule>>,
}
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.commit_id: Option<String>
The full commit ID used as a reference for the returned version of the folder content.
folder_path: Option<String>
The fully qualified path of the folder whose contents are returned.
tree_id: Option<String>
The full SHA-1 pointer of the tree information for the commit that contains the folder.
sub_folders: Option<Vec<Folder>>
The list of folders that exist under the specified folder, if any.
files: Option<Vec<File>>
The list of files in the specified folder, if any.
symbolic_links: Option<Vec<SymbolicLink>>
The list of symbolic links to other files and folders in the specified folder, if any.
sub_modules: Option<Vec<SubModule>>
The list of submodules in the specified folder, if any.
Implementations
sourceimpl GetFolderOutput
impl GetFolderOutput
sourcepub fn commit_id(&self) -> Option<&str>
pub fn commit_id(&self) -> Option<&str>
The full commit ID used as a reference for the returned version of the folder content.
sourcepub fn folder_path(&self) -> Option<&str>
pub fn folder_path(&self) -> Option<&str>
The fully qualified path of the folder whose contents are returned.
sourcepub fn tree_id(&self) -> Option<&str>
pub fn tree_id(&self) -> Option<&str>
The full SHA-1 pointer of the tree information for the commit that contains the folder.
sourcepub fn sub_folders(&self) -> Option<&[Folder]>
pub fn sub_folders(&self) -> Option<&[Folder]>
The list of folders that exist under the specified folder, if any.
sourcepub fn symbolic_links(&self) -> Option<&[SymbolicLink]>
pub fn symbolic_links(&self) -> Option<&[SymbolicLink]>
The list of symbolic links to other files and folders in the specified folder, if any.
sourceimpl GetFolderOutput
impl GetFolderOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetFolderOutput
Trait Implementations
sourceimpl Clone for GetFolderOutput
impl Clone for GetFolderOutput
sourcefn clone(&self) -> GetFolderOutput
fn clone(&self) -> GetFolderOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetFolderOutput
impl Debug for GetFolderOutput
sourceimpl PartialEq<GetFolderOutput> for GetFolderOutput
impl PartialEq<GetFolderOutput> for GetFolderOutput
sourcefn eq(&self, other: &GetFolderOutput) -> bool
fn eq(&self, other: &GetFolderOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetFolderOutput) -> bool
fn ne(&self, other: &GetFolderOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetFolderOutput
Auto Trait Implementations
impl RefUnwindSafe for GetFolderOutput
impl Send for GetFolderOutput
impl Sync for GetFolderOutput
impl Unpin for GetFolderOutput
impl UnwindSafe for GetFolderOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more