pub struct UploadLargeFilesOptions {
pub org: String,
pub repo: String,
pub branch: String,
pub message: String,
pub author: Author,
pub files: Vec<LargeFile>,
pub base_sha: Option<String>,
}Expand description
Options for uploading large files.
Fields§
§org: StringOrganization slug.
repo: StringRepository name.
branch: StringTarget branch.
message: StringCommit message.
Commit author.
files: Vec<LargeFile>Files to upload.
base_sha: Option<String>Optional base SHA for optimistic locking.
Trait Implementations§
Source§impl Clone for UploadLargeFilesOptions
impl Clone for UploadLargeFilesOptions
Source§fn clone(&self) -> UploadLargeFilesOptions
fn clone(&self) -> UploadLargeFilesOptions
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 moreAuto Trait Implementations§
impl Freeze for UploadLargeFilesOptions
impl RefUnwindSafe for UploadLargeFilesOptions
impl Send for UploadLargeFilesOptions
impl Sync for UploadLargeFilesOptions
impl Unpin for UploadLargeFilesOptions
impl UnwindSafe for UploadLargeFilesOptions
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