pub struct GetFolderOutput {
pub commit_id: String,
pub files: Option<Vec<File>>,
pub folder_path: String,
pub sub_folders: Option<Vec<Folder>>,
pub sub_modules: Option<Vec<SubModule>>,
pub symbolic_links: Option<Vec<SymbolicLink>>,
pub tree_id: Option<String>,
}Fields§
§commit_id: StringThe full commit ID used as a reference for the returned version of the folder content.
files: Option<Vec<File>>The list of files in the specified folder, if any.
folder_path: StringThe fully qualified path of the folder whose contents are returned.
sub_folders: Option<Vec<Folder>>The list of folders that exist under the specified folder, if any.
sub_modules: Option<Vec<SubModule>>The list of submodules 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.
tree_id: Option<String>The full SHA-1 pointer of the tree information for the commit that contains the folder.
Trait Implementations§
Source§impl Clone for GetFolderOutput
impl Clone for GetFolderOutput
Source§fn clone(&self) -> GetFolderOutput
fn clone(&self) -> GetFolderOutput
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 GetFolderOutput
impl Debug for GetFolderOutput
Source§impl Default for GetFolderOutput
impl Default for GetFolderOutput
Source§fn default() -> GetFolderOutput
fn default() -> GetFolderOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetFolderOutput
impl<'de> Deserialize<'de> for GetFolderOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetFolderOutput
impl PartialEq for GetFolderOutput
impl StructuralPartialEq for GetFolderOutput
Auto Trait Implementations§
impl Freeze for GetFolderOutput
impl RefUnwindSafe for GetFolderOutput
impl Send for GetFolderOutput
impl Sync for GetFolderOutput
impl Unpin for GetFolderOutput
impl UnwindSafe for GetFolderOutput
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