pub struct DepositCycles;Expand description
Deposit the cycles in the call to the given canister’s balance.
Trait Implementations§
Source§impl Method for DepositCycles
impl Method for DepositCycles
const NAME: &'static str = "deposit_cycles"
type Arguments = (WithCanisterId,)
type Response = ()
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 DepositCycles
impl RefUnwindSafe for DepositCycles
impl Send for DepositCycles
impl Sync for DepositCycles
impl Unpin for DepositCycles
impl UnsafeUnpin for DepositCycles
impl UnwindSafe for DepositCycles
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