pub struct Code<CodeValue>(pub CodeValue);
Expand description
Contains code for a deploy or upgrade.
Tuple Fields§
§0: CodeValue
Trait Implementations§
impl<Env, CodeValue> TxCodeSource<Env> for Code<CodeValue>where
Env: TxEnv,
CodeValue: TxCodeValue<Env>,
impl<Env, CodeValue> TxCodeSourceSpecified<Env> for Code<CodeValue>where
Env: TxEnv,
CodeValue: TxCodeValue<Env>,
Auto Trait Implementations§
impl<CodeValue> Freeze for Code<CodeValue>where
CodeValue: Freeze,
impl<CodeValue> RefUnwindSafe for Code<CodeValue>where
CodeValue: RefUnwindSafe,
impl<CodeValue> Send for Code<CodeValue>where
CodeValue: Send,
impl<CodeValue> Sync for Code<CodeValue>where
CodeValue: Sync,
impl<CodeValue> Unpin for Code<CodeValue>where
CodeValue: Unpin,
impl<CodeValue> UnwindSafe for Code<CodeValue>where
CodeValue: UnwindSafe,
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