pub struct GetFileOutput {
pub blob_id: String,
pub commit_id: String,
pub file_content: Bytes,
pub file_mode: String,
pub file_path: String,
pub file_size: i64,
}Fields§
§blob_id: StringThe blob ID of the object that represents the file content.
commit_id: StringThe full commit ID of the commit that contains the content returned by GetFile.
file_content: BytesThe base-64 encoded binary data object that represents the content of the file.
file_mode: StringThe extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.
The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.
file_path: StringThe fully qualified path to the specified file. Returns the name and extension of the file.
file_size: i64The size of the contents of the file, in bytes.
Trait Implementations§
Source§impl Clone for GetFileOutput
impl Clone for GetFileOutput
Source§fn clone(&self) -> GetFileOutput
fn clone(&self) -> GetFileOutput
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 GetFileOutput
impl Debug for GetFileOutput
Source§impl Default for GetFileOutput
impl Default for GetFileOutput
Source§fn default() -> GetFileOutput
fn default() -> GetFileOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetFileOutput
impl<'de> Deserialize<'de> for GetFileOutput
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 GetFileOutput
impl PartialEq for GetFileOutput
impl StructuralPartialEq for GetFileOutput
Auto Trait Implementations§
impl !Freeze for GetFileOutput
impl RefUnwindSafe for GetFileOutput
impl Send for GetFileOutput
impl Sync for GetFileOutput
impl Unpin for GetFileOutput
impl UnwindSafe for GetFileOutput
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