pub struct TxDeploy {
pub from: AddressValue,
pub egld_value: BigUintValue,
pub contract_code: BytesValue,
pub code_metadata: CodeMetadata,
pub arguments: Vec<BytesValue>,
pub gas_limit: U64Value,
pub gas_price: U64Value,
}
Fields§
§from: AddressValue
§egld_value: BigUintValue
§contract_code: BytesValue
§code_metadata: CodeMetadata
§arguments: Vec<BytesValue>
§gas_limit: U64Value
§gas_price: U64Value
Implementations§
Trait Implementations§
Source§impl InterpretableFrom<TxDeployRaw> for TxDeploy
impl InterpretableFrom<TxDeployRaw> for TxDeploy
fn interpret_from(from: TxDeployRaw, context: &InterpreterContext) -> Self
Source§impl IntoRaw<TxDeployRaw> for TxDeploy
impl IntoRaw<TxDeployRaw> for TxDeploy
fn into_raw(self) -> TxDeployRaw
Auto Trait Implementations§
impl Freeze for TxDeploy
impl RefUnwindSafe for TxDeploy
impl Send for TxDeploy
impl Sync for TxDeploy
impl Unpin for TxDeploy
impl UnwindSafe for TxDeploy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more