pub struct CreateCanister;Expand description
Create a canister on the current subnet.
Trait Implementations§
Source§impl Method for CreateCanister
impl Method for CreateCanister
const NAME: &'static str = "create_canister"
type Arguments = (CreateCanisterArgument,)
type Response = (WithCanisterId,)
fn perform(id: Principal, args: Self::Arguments) -> CallResponse<Self::Response>
fn perform_with_payment( id: Principal, args: Self::Arguments, cycles: u64, ) -> CallResponse<Self::Response>
Auto Trait Implementations§
impl Freeze for CreateCanister
impl RefUnwindSafe for CreateCanister
impl Send for CreateCanister
impl Sync for CreateCanister
impl Unpin for CreateCanister
impl UnsafeUnpin for CreateCanister
impl UnwindSafe for CreateCanister
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