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
)