pub struct DeployRequest {
pub description: String,
pub name: String,
pub params: Vec<u8>,
pub prog_hash: ScHash,
}
Fields§
§description: String
§name: String
§params: Vec<u8>
§prog_hash: ScHash
Implementations§
Source§impl DeployRequest
impl DeployRequest
pub fn from_bytes(bytes: &[u8]) -> DeployRequest
pub fn to_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for DeployRequest
impl Clone for DeployRequest
Source§fn clone(&self) -> DeployRequest
fn clone(&self) -> DeployRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DeployRequest
impl RefUnwindSafe for DeployRequest
impl Send for DeployRequest
impl Sync for DeployRequest
impl Unpin for DeployRequest
impl UnwindSafe for DeployRequest
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