pub struct CreateCanisterParams {
pub cycles: Option<u128>,
pub settings: Option<CanisterSettings>,
pub placement: Option<CreateCanisterPlacement>,
}Expand description
Parameters for PocketIc::create_canister_with_params.
Fields§
§cycles: Option<u128>Initial cycles balance; defaults to 100T if None.
settings: Option<CanisterSettings>Canister settings; defaults to default canister settings if None.
placement: Option<CreateCanisterPlacement>Canister placement (subnet or specific canister ID); a random application subnet is chosen if None.
Trait Implementations§
Source§impl Clone for CreateCanisterParams
impl Clone for CreateCanisterParams
Source§impl Debug for CreateCanisterParams
impl Debug for CreateCanisterParams
Auto Trait Implementations§
impl Freeze for CreateCanisterParams
impl RefUnwindSafe for CreateCanisterParams
impl Send for CreateCanisterParams
impl Sync for CreateCanisterParams
impl Unpin for CreateCanisterParams
impl UnsafeUnpin for CreateCanisterParams
impl UnwindSafe for CreateCanisterParams
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