Struct gekko::runtime::kusama::extrinsics::system::SetCodeWithoutChecks [−][src]
Expand description
Set the new runtime code without doing any checks of the given code
.
Documentation (provided by the runtime metadata)
Set the new runtime code without doing any checks of the given code
.
O(C)
whereC
length ofcode
- 1 storage write (codec
O(C)
). - 1 event. The weight of this function is dependent on the runtime. We will treat this as a full block.
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
code: A
Type description: Vec<u8>
Trait Implementations
impl<A: PartialEq> PartialEq<SetCodeWithoutChecks<A>> for SetCodeWithoutChecks<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<SetCodeWithoutChecks<A>> for SetCodeWithoutChecks<A> where
A: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<A> RefUnwindSafe for SetCodeWithoutChecks<A> where
A: RefUnwindSafe,
impl<A> Send for SetCodeWithoutChecks<A> where
A: Send,
impl<A> Sync for SetCodeWithoutChecks<A> where
A: Sync,
impl<A> Unpin for SetCodeWithoutChecks<A> where
A: Unpin,
impl<A> UnwindSafe for SetCodeWithoutChecks<A> where
A: 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
.