pub struct PutFileEntry {
pub file_content: Option<Bytes>,
pub file_mode: Option<String>,
pub file_path: String,
pub source_file: Option<SourceFileSpecifier>,
}Expand description
Information about a file added or updated as part of a commit.
Fields§
§file_content: Option<Bytes>The content of the file, if a source file is not specified.
file_mode: Option<String>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
file_path: StringThe full path to the file in the repository, including the name of the file.
source_file: Option<SourceFileSpecifier>The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
Trait Implementations§
Source§impl Clone for PutFileEntry
impl Clone for PutFileEntry
Source§fn clone(&self) -> PutFileEntry
fn clone(&self) -> PutFileEntry
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 PutFileEntry
impl Debug for PutFileEntry
Source§impl Default for PutFileEntry
impl Default for PutFileEntry
Source§fn default() -> PutFileEntry
fn default() -> PutFileEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for PutFileEntry
impl PartialEq for PutFileEntry
Source§impl Serialize for PutFileEntry
impl Serialize for PutFileEntry
impl StructuralPartialEq for PutFileEntry
Auto Trait Implementations§
impl !Freeze for PutFileEntry
impl RefUnwindSafe for PutFileEntry
impl Send for PutFileEntry
impl Sync for PutFileEntry
impl Unpin for PutFileEntry
impl UnwindSafe for PutFileEntry
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