pub struct GetFolderInput {
pub commit_specifier: Option<String>,
pub folder_path: String,
pub repository_name: String,
}Fields§
§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: StringThe 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.
repository_name: StringThe name of the repository.
Trait Implementations§
Source§impl Clone for GetFolderInput
impl Clone for GetFolderInput
Source§fn clone(&self) -> GetFolderInput
fn clone(&self) -> GetFolderInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetFolderInput
impl Debug for GetFolderInput
Source§impl Default for GetFolderInput
impl Default for GetFolderInput
Source§fn default() -> GetFolderInput
fn default() -> GetFolderInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetFolderInput
impl PartialEq for GetFolderInput
Source§impl Serialize for GetFolderInput
impl Serialize for GetFolderInput
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
Mutably borrows from an owned value. Read more