pub struct DeployInput {
pub contract: Vec<u8>,
pub cbi_version: u32,
}
Fields§
§contract: Vec<u8>
Smart contract in format of WASM bytecode
cbi_version: u32
Version of Contract Binary Interface
Trait Implementations§
Source§impl BorshDeserialize for DeployInput
impl BorshDeserialize for DeployInput
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for DeployInput
impl BorshSerialize for DeployInput
Source§impl Clone for DeployInput
impl Clone for DeployInput
Source§fn clone(&self) -> DeployInput
fn clone(&self) -> DeployInput
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeployInput
impl Debug for DeployInput
Source§impl Deserializable for DeployInput
impl Deserializable for DeployInput
Source§impl PartialEq for DeployInput
impl PartialEq for DeployInput
Source§impl Serializable for DeployInput
impl Serializable for DeployInput
impl Eq for DeployInput
impl StructuralPartialEq for DeployInput
Auto Trait Implementations§
impl Freeze for DeployInput
impl RefUnwindSafe for DeployInput
impl Send for DeployInput
impl Sync for DeployInput
impl Unpin for DeployInput
impl UnwindSafe for DeployInput
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