Struct ic_cdk::api::management_canister::provisional::ProvisionalCreateCanisterWithCyclesArgument
source · pub struct ProvisionalCreateCanisterWithCyclesArgument {
pub amount: Option<Nat>,
pub settings: Option<CanisterSettings>,
}
Expand description
Argument type of provisional_create_canister_with_cycles.
Fields§
§amount: Option<Nat>
The created canister will have this amount of cycles.
settings: Option<CanisterSettings>
See CanisterSettings.
Trait Implementations§
source§impl Clone for ProvisionalCreateCanisterWithCyclesArgument
impl Clone for ProvisionalCreateCanisterWithCyclesArgument
source§fn clone(&self) -> ProvisionalCreateCanisterWithCyclesArgument
fn clone(&self) -> ProvisionalCreateCanisterWithCyclesArgument
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 Default for ProvisionalCreateCanisterWithCyclesArgument
impl Default for ProvisionalCreateCanisterWithCyclesArgument
source§fn default() -> ProvisionalCreateCanisterWithCyclesArgument
fn default() -> ProvisionalCreateCanisterWithCyclesArgument
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProvisionalCreateCanisterWithCyclesArgument
impl<'de> Deserialize<'de> for ProvisionalCreateCanisterWithCyclesArgument
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 ProvisionalCreateCanisterWithCyclesArgument
impl Ord for ProvisionalCreateCanisterWithCyclesArgument
source§fn cmp(&self, other: &ProvisionalCreateCanisterWithCyclesArgument) -> Ordering
fn cmp(&self, other: &ProvisionalCreateCanisterWithCyclesArgument) -> 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 ProvisionalCreateCanisterWithCyclesArgument
impl PartialEq for ProvisionalCreateCanisterWithCyclesArgument
source§fn eq(&self, other: &ProvisionalCreateCanisterWithCyclesArgument) -> bool
fn eq(&self, other: &ProvisionalCreateCanisterWithCyclesArgument) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for ProvisionalCreateCanisterWithCyclesArgument
impl PartialOrd for ProvisionalCreateCanisterWithCyclesArgument
impl Eq for ProvisionalCreateCanisterWithCyclesArgument
impl StructuralPartialEq for ProvisionalCreateCanisterWithCyclesArgument
Auto Trait Implementations§
impl Freeze for ProvisionalCreateCanisterWithCyclesArgument
impl RefUnwindSafe for ProvisionalCreateCanisterWithCyclesArgument
impl Send for ProvisionalCreateCanisterWithCyclesArgument
impl Sync for ProvisionalCreateCanisterWithCyclesArgument
impl Unpin for ProvisionalCreateCanisterWithCyclesArgument
impl UnwindSafe for ProvisionalCreateCanisterWithCyclesArgument
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
)