#[non_exhaustive]pub struct GetFolderOutputBuilder { /* private fields */ }Expand description
A builder for GetFolderOutput.
Implementations§
source§impl GetFolderOutputBuilder
impl GetFolderOutputBuilder
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The full commit ID used as a reference for the returned version of the folder content.
This field is required.sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The full commit ID used as a reference for the returned version of the folder content.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The full commit ID used as a reference for the returned version of the folder content.
sourcepub fn folder_path(self, input: impl Into<String>) -> Self
pub fn folder_path(self, input: impl Into<String>) -> Self
The fully qualified path of the folder whose contents are returned.
This field is required.sourcepub fn set_folder_path(self, input: Option<String>) -> Self
pub fn set_folder_path(self, input: Option<String>) -> Self
The fully qualified path of the folder whose contents are returned.
sourcepub fn get_folder_path(&self) -> &Option<String>
pub fn get_folder_path(&self) -> &Option<String>
The fully qualified path of the folder whose contents are returned.
sourcepub fn tree_id(self, input: impl Into<String>) -> Self
pub fn tree_id(self, input: impl Into<String>) -> Self
The full SHA-1 pointer of the tree information for the commit that contains the folder.
sourcepub fn set_tree_id(self, input: Option<String>) -> Self
pub fn set_tree_id(self, input: Option<String>) -> Self
The full SHA-1 pointer of the tree information for the commit that contains the folder.
sourcepub fn get_tree_id(&self) -> &Option<String>
pub fn get_tree_id(&self) -> &Option<String>
The full SHA-1 pointer of the tree information for the commit that contains the folder.
sourcepub fn sub_folders(self, input: Folder) -> Self
pub fn sub_folders(self, input: Folder) -> Self
Appends an item to sub_folders.
To override the contents of this collection use set_sub_folders.
The list of folders that exist under the specified folder, if any.
sourcepub fn set_sub_folders(self, input: Option<Vec<Folder>>) -> Self
pub fn set_sub_folders(self, input: Option<Vec<Folder>>) -> Self
The list of folders that exist under the specified folder, if any.
sourcepub fn get_sub_folders(&self) -> &Option<Vec<Folder>>
pub fn get_sub_folders(&self) -> &Option<Vec<Folder>>
The list of folders that exist under the specified folder, if any.
sourcepub fn files(self, input: File) -> Self
pub fn files(self, input: File) -> Self
Appends an item to files.
To override the contents of this collection use set_files.
The list of files in the specified folder, if any.
sourcepub fn set_files(self, input: Option<Vec<File>>) -> Self
pub fn set_files(self, input: Option<Vec<File>>) -> Self
The list of files in the specified folder, if any.
sourcepub fn get_files(&self) -> &Option<Vec<File>>
pub fn get_files(&self) -> &Option<Vec<File>>
The list of files in the specified folder, if any.
sourcepub fn symbolic_links(self, input: SymbolicLink) -> Self
pub fn symbolic_links(self, input: SymbolicLink) -> Self
Appends an item to symbolic_links.
To override the contents of this collection use set_symbolic_links.
The list of symbolic links to other files and folders in the specified folder, if any.
sourcepub fn set_symbolic_links(self, input: Option<Vec<SymbolicLink>>) -> Self
pub fn set_symbolic_links(self, input: Option<Vec<SymbolicLink>>) -> Self
The list of symbolic links to other files and folders in the specified folder, if any.
sourcepub fn get_symbolic_links(&self) -> &Option<Vec<SymbolicLink>>
pub fn get_symbolic_links(&self) -> &Option<Vec<SymbolicLink>>
The list of symbolic links to other files and folders in the specified folder, if any.
sourcepub fn sub_modules(self, input: SubModule) -> Self
pub fn sub_modules(self, input: SubModule) -> Self
Appends an item to sub_modules.
To override the contents of this collection use set_sub_modules.
The list of submodules in the specified folder, if any.
sourcepub fn set_sub_modules(self, input: Option<Vec<SubModule>>) -> Self
pub fn set_sub_modules(self, input: Option<Vec<SubModule>>) -> Self
The list of submodules in the specified folder, if any.
sourcepub fn get_sub_modules(&self) -> &Option<Vec<SubModule>>
pub fn get_sub_modules(&self) -> &Option<Vec<SubModule>>
The list of submodules in the specified folder, if any.
sourcepub fn build(self) -> Result<GetFolderOutput, BuildError>
pub fn build(self) -> Result<GetFolderOutput, BuildError>
Consumes the builder and constructs a GetFolderOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetFolderOutputBuilder
impl Clone for GetFolderOutputBuilder
source§fn clone(&self) -> GetFolderOutputBuilder
fn clone(&self) -> GetFolderOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetFolderOutputBuilder
impl Debug for GetFolderOutputBuilder
source§impl Default for GetFolderOutputBuilder
impl Default for GetFolderOutputBuilder
source§fn default() -> GetFolderOutputBuilder
fn default() -> GetFolderOutputBuilder
source§impl PartialEq for GetFolderOutputBuilder
impl PartialEq for GetFolderOutputBuilder
source§fn eq(&self, other: &GetFolderOutputBuilder) -> bool
fn eq(&self, other: &GetFolderOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetFolderOutputBuilder
Auto Trait Implementations§
impl Freeze for GetFolderOutputBuilder
impl RefUnwindSafe for GetFolderOutputBuilder
impl Send for GetFolderOutputBuilder
impl Sync for GetFolderOutputBuilder
impl Unpin for GetFolderOutputBuilder
impl UnwindSafe for GetFolderOutputBuilder
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