Struct primitives::account::CodeInfo
source · pub struct CodeInfo {
pub code: Arc<Bytes>,
pub owner: Address,
}
Fields§
§code: Arc<Bytes>
§owner: Address
Implementations§
Trait Implementations§
source§impl Ord for CodeInfo
impl Ord for CodeInfo
source§impl PartialEq for CodeInfo
impl PartialEq for CodeInfo
source§impl PartialOrd for CodeInfo
impl PartialOrd for CodeInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CodeInfo
impl StructuralPartialEq for CodeInfo
Auto Trait Implementations§
impl RefUnwindSafe for CodeInfo
impl Send for CodeInfo
impl Sync for CodeInfo
impl Unpin for CodeInfo
impl UnwindSafe for CodeInfo
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