pub struct CommitFile {
pub action: CommitFileAction,
pub path: String,
pub content: Option<String>,
}Expand description
A file change within a commit.
Fields§
§action: CommitFileActionThe action to perform.
path: StringFile path.
content: Option<String>Base64-encoded file content (for upsert).
Trait Implementations§
Source§impl Clone for CommitFile
impl Clone for CommitFile
Source§fn clone(&self) -> CommitFile
fn clone(&self) -> CommitFile
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 CommitFile
impl Debug for CommitFile
Auto Trait Implementations§
impl Freeze for CommitFile
impl RefUnwindSafe for CommitFile
impl Send for CommitFile
impl Sync for CommitFile
impl Unpin for CommitFile
impl UnwindSafe for CommitFile
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