pub struct setCodeStaged {
pub from: AccountNumber,
pub id: u64,
pub vmType: u8,
pub vmVersion: u8,
pub codeHash: Checksum256,
}Expand description
This structure has the same JSON and Fracpack format as the arguments to Actions::setCodeStaged.
Fields§
§from: AccountNumber§id: u64§vmType: u8§vmVersion: u8§codeHash: Checksum256Implementations§
Source§impl setCodeStaged
impl setCodeStaged
pub const ACTION_NAME: &'static str = "setCodeStaged"
Trait Implementations§
Source§impl Clone for setCodeStaged
impl Clone for setCodeStaged
Source§fn clone(&self) -> setCodeStaged
fn clone(&self) -> setCodeStaged
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for setCodeStaged
impl Debug for setCodeStaged
Source§impl<'de> Deserialize<'de> for setCodeStaged
impl<'de> Deserialize<'de> for setCodeStaged
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
Source§impl Pack for setCodeStaged
impl Pack for setCodeStaged
Source§impl Serialize for setCodeStaged
impl Serialize for setCodeStaged
Source§impl ToSchema for setCodeStaged
impl ToSchema for setCodeStaged
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for setCodeStaged
impl<'a> Unpack<'a> for setCodeStaged
Source§fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(src: &mut FracInputStream<'_>) -> Result<()>
fn verify(src: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for setCodeStaged
impl RefUnwindSafe for setCodeStaged
impl Send for setCodeStaged
impl Sync for setCodeStaged
impl Unpin for setCodeStaged
impl UnsafeUnpin for setCodeStaged
impl UnwindSafe for setCodeStaged
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