pub struct NotifyTopUpArgs {
pub block_index: u64,
pub canister_id: Principal,
}Expand description
NotifyTopUpArgs Arguments expected by the cycles canister when notifying a top-up.
Fields§
§block_index: u64§canister_id: PrincipalTrait Implementations§
Source§impl CandidType for NotifyTopUpArgs
impl CandidType for NotifyTopUpArgs
Source§impl<'de> Deserialize<'de> for NotifyTopUpArgs
impl<'de> Deserialize<'de> for NotifyTopUpArgs
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
Auto Trait Implementations§
impl Freeze for NotifyTopUpArgs
impl RefUnwindSafe for NotifyTopUpArgs
impl Send for NotifyTopUpArgs
impl Sync for NotifyTopUpArgs
impl Unpin for NotifyTopUpArgs
impl UnwindSafe for NotifyTopUpArgs
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