pub struct CodeChange {
pub block_access_index: BlockAccessIndex,
pub new_code: Bytes,
}Expand description
One code change (deployment or self-destruct).
Fields§
§block_access_index: BlockAccessIndexWhere in the block the change happened.
new_code: BytesCode after the change.
Trait Implementations§
Source§impl Clone for CodeChange
impl Clone for CodeChange
Source§fn clone(&self) -> CodeChange
fn clone(&self) -> CodeChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodeChange
impl Debug for CodeChange
Source§impl Decodable for CodeChange
impl Decodable for CodeChange
Source§impl<'de> Deserialize<'de> for CodeChange
impl<'de> Deserialize<'de> for CodeChange
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 Encodable for CodeChange
impl Encodable for CodeChange
impl Eq for CodeChange
Source§impl PartialEq for CodeChange
impl PartialEq for CodeChange
Source§impl Serialize for CodeChange
impl Serialize for CodeChange
impl StructuralPartialEq for CodeChange
Auto Trait Implementations§
impl !Freeze for CodeChange
impl RefUnwindSafe for CodeChange
impl Send for CodeChange
impl Sync for CodeChange
impl Unpin for CodeChange
impl UnsafeUnpin for CodeChange
impl UnwindSafe for CodeChange
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