pub struct UploadAssetParams {
pub owner: String,
pub repo: String,
pub release_id: u64,
pub file_name: String,
pub file_path: PathBuf,
}Expand description
Parameters for uploading a release asset.
Fields§
§owner: String§repo: String§release_id: u64§file_name: String§file_path: PathBufTrait Implementations§
Source§impl Clone for UploadAssetParams
impl Clone for UploadAssetParams
Source§fn clone(&self) -> UploadAssetParams
fn clone(&self) -> UploadAssetParams
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 UploadAssetParams
impl RefUnwindSafe for UploadAssetParams
impl Send for UploadAssetParams
impl Sync for UploadAssetParams
impl Unpin for UploadAssetParams
impl UnsafeUnpin for UploadAssetParams
impl UnwindSafe for UploadAssetParams
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