Struct ic_cdk::api::management_canister::main::UploadChunkArgument
source · pub struct UploadChunkArgument {
pub canister_id: CanisterId,
pub chunk: Vec<u8>,
}
Expand description
Argument type of update_chunk.
Fields§
§canister_id: CanisterId
The canister whose chunk store the chunk will be uploaded to
chunk: Vec<u8>
The chunk bytes (max size 1MB)
Trait Implementations§
source§impl CandidType for UploadChunkArgument
impl CandidType for UploadChunkArgument
source§impl Clone for UploadChunkArgument
impl Clone for UploadChunkArgument
source§fn clone(&self) -> UploadChunkArgument
fn clone(&self) -> UploadChunkArgument
Returns a copy 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 UploadChunkArgument
impl Debug for UploadChunkArgument
source§impl<'de> Deserialize<'de> for UploadChunkArgument
impl<'de> Deserialize<'de> for UploadChunkArgument
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for UploadChunkArgument
impl Hash for UploadChunkArgument
source§impl Ord for UploadChunkArgument
impl Ord for UploadChunkArgument
source§fn cmp(&self, other: &UploadChunkArgument) -> Ordering
fn cmp(&self, other: &UploadChunkArgument) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UploadChunkArgument
impl PartialEq for UploadChunkArgument
source§impl PartialOrd for UploadChunkArgument
impl PartialOrd for UploadChunkArgument
source§impl Serialize for UploadChunkArgument
impl Serialize for UploadChunkArgument
impl Eq for UploadChunkArgument
impl StructuralPartialEq for UploadChunkArgument
Auto Trait Implementations§
impl Freeze for UploadChunkArgument
impl RefUnwindSafe for UploadChunkArgument
impl Send for UploadChunkArgument
impl Sync for UploadChunkArgument
impl Unpin for UploadChunkArgument
impl UnwindSafe for UploadChunkArgument
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)