pub struct PutPackageParams {
pub service_id: String,
pub version_id: i32,
pub expect: Option<String>,
pub package: Option<PathBuf>,
}
Expand description
struct for passing parameters to the method put_package
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
expect: Option<String>
We recommend using the Expect header because it may identify issues with the request based upon the headers alone instead of requiring you to wait until the entire binary package upload has completed.
package: Option<PathBuf>
The content of the Wasm binary package.
Trait Implementations§
Source§impl Clone for PutPackageParams
impl Clone for PutPackageParams
Source§fn clone(&self) -> PutPackageParams
fn clone(&self) -> PutPackageParams
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 PutPackageParams
impl Debug for PutPackageParams
Source§impl Default for PutPackageParams
impl Default for PutPackageParams
Source§fn default() -> PutPackageParams
fn default() -> PutPackageParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PutPackageParams
impl RefUnwindSafe for PutPackageParams
impl Send for PutPackageParams
impl Sync for PutPackageParams
impl Unpin for PutPackageParams
impl UnwindSafe for PutPackageParams
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