pub struct DeploymentRecord {
pub contract_id: String,
pub wasm_hash: String,
pub network: String,
pub timestamp: u64,
pub salt: Option<String>,
}Expand description
A single deployed-contract record for one alias on one network.
Fields§
§contract_id: StringOn-chain contract ID (StrKey C...).
wasm_hash: StringSHA-256 WASM hash of the deployed artifact.
network: StringNetwork key this contract was deployed to (see network_key).
timestamp: u64Unix epoch seconds when the record was written.
salt: Option<String>Deployment salt used to derive the contract ID.
Trait Implementations§
Source§impl Clone for DeploymentRecord
impl Clone for DeploymentRecord
Source§impl Debug for DeploymentRecord
impl Debug for DeploymentRecord
Source§impl<'de> Deserialize<'de> for DeploymentRecord
impl<'de> Deserialize<'de> for DeploymentRecord
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 DeploymentRecord
impl PartialEq for DeploymentRecord
Source§impl Serialize for DeploymentRecord
impl Serialize for DeploymentRecord
impl StructuralPartialEq for DeploymentRecord
Auto Trait Implementations§
impl Freeze for DeploymentRecord
impl RefUnwindSafe for DeploymentRecord
impl Send for DeploymentRecord
impl Sync for DeploymentRecord
impl Unpin for DeploymentRecord
impl UnsafeUnpin for DeploymentRecord
impl UnwindSafe for DeploymentRecord
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