pub struct TransactionPayloadScriptPayload {
pub code: Box<MoveScriptBytecode>,
pub type_arguments: Vec<String>,
pub arguments: Vec<Value>,
pub type: Type,
}Fields§
§code: Box<MoveScriptBytecode>§type_arguments: Vec<String>Type arguments of the function
arguments: Vec<Value>Arguments of the function
type: TypeImplementations§
Source§impl TransactionPayloadScriptPayload
impl TransactionPayloadScriptPayload
pub fn new( code: MoveScriptBytecode, type_arguments: Vec<String>, arguments: Vec<Value>, type: Type, ) -> TransactionPayloadScriptPayload
Trait Implementations§
Source§impl Clone for TransactionPayloadScriptPayload
impl Clone for TransactionPayloadScriptPayload
Source§fn clone(&self) -> TransactionPayloadScriptPayload
fn clone(&self) -> TransactionPayloadScriptPayload
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 Default for TransactionPayloadScriptPayload
impl Default for TransactionPayloadScriptPayload
Source§fn default() -> TransactionPayloadScriptPayload
fn default() -> TransactionPayloadScriptPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionPayloadScriptPayload
impl<'de> Deserialize<'de> for TransactionPayloadScriptPayload
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 PartialEq for TransactionPayloadScriptPayload
impl PartialEq for TransactionPayloadScriptPayload
Source§fn eq(&self, other: &TransactionPayloadScriptPayload) -> bool
fn eq(&self, other: &TransactionPayloadScriptPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransactionPayloadScriptPayload
Auto Trait Implementations§
impl Freeze for TransactionPayloadScriptPayload
impl RefUnwindSafe for TransactionPayloadScriptPayload
impl Send for TransactionPayloadScriptPayload
impl Sync for TransactionPayloadScriptPayload
impl Unpin for TransactionPayloadScriptPayload
impl UnsafeUnpin for TransactionPayloadScriptPayload
impl UnwindSafe for TransactionPayloadScriptPayload
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