Struct gekko::runtime::kusama::extrinsics::scheduler::Cancel [−][src]
pub struct Cancel<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub when: A,
pub index: B,
}
Expand description
Cancel an anonymously scheduled task.
Documentation (provided by the runtime metadata)
Cancel an anonymously scheduled task.
- S = Number of already scheduled calls
- Base Weight: 22.15 + 2.869 * S µs
- DB Weight:
- Read: Agenda
- Write: Agenda, Lookup
- Will use base weight of 100 which should be good for up to 30 scheduled calls
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
when: A
Type description: T::BlockNumber
index: B
Type description: u32
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Cancel<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Cancel<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.