pub struct ProvisionalTopUpCanisterArgument {
pub canister_id: CanisterId,
pub amount: Nat,
}
๐Deprecated since 0.18.0: The
api::management_canister::provisional
module is deprecated. Please use the management_canister
module at the crate root.Expand description
Argument type of provisional_top_up_canister.
Fieldsยง
ยงcanister_id: CanisterId
๐Deprecated since 0.18.0: The
api::management_canister::provisional
module is deprecated. Please use the management_canister
module at the crate root.Canister ID.
amount: Nat
๐Deprecated since 0.18.0: The
api::management_canister::provisional
module is deprecated. Please use the management_canister
module at the crate root.Amount of cycles to be added.
Trait Implementationsยง
Sourceยงimpl Clone for ProvisionalTopUpCanisterArgument
impl Clone for ProvisionalTopUpCanisterArgument
Sourceยงfn clone(&self) -> ProvisionalTopUpCanisterArgument
fn clone(&self) -> ProvisionalTopUpCanisterArgument
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl<'de> Deserialize<'de> for ProvisionalTopUpCanisterArgument
impl<'de> Deserialize<'de> for ProvisionalTopUpCanisterArgument
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 Ord for ProvisionalTopUpCanisterArgument
impl Ord for ProvisionalTopUpCanisterArgument
Sourceยงfn cmp(&self, other: &ProvisionalTopUpCanisterArgument) -> Ordering
fn cmp(&self, other: &ProvisionalTopUpCanisterArgument) -> 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 ProvisionalTopUpCanisterArgument
impl PartialEq for ProvisionalTopUpCanisterArgument
Sourceยงfn eq(&self, other: &ProvisionalTopUpCanisterArgument) -> bool
fn eq(&self, other: &ProvisionalTopUpCanisterArgument) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for ProvisionalTopUpCanisterArgument
impl PartialOrd for ProvisionalTopUpCanisterArgument
impl Eq for ProvisionalTopUpCanisterArgument
impl StructuralPartialEq for ProvisionalTopUpCanisterArgument
Auto Trait Implementationsยง
impl Freeze for ProvisionalTopUpCanisterArgument
impl RefUnwindSafe for ProvisionalTopUpCanisterArgument
impl Send for ProvisionalTopUpCanisterArgument
impl Sync for ProvisionalTopUpCanisterArgument
impl Unpin for ProvisionalTopUpCanisterArgument
impl UnwindSafe for ProvisionalTopUpCanisterArgument
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