pub struct Contract {
pub id: ContractId,
pub bytecode: HexString,
pub salt: Salt,
}
Fields§
§id: ContractId
§bytecode: HexString
§salt: Salt
Trait Implementations§
source§impl<'de> Deserialize<'de> for Contract
impl<'de> Deserialize<'de> for Contract
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<'de> QueryFragment<'de> for Contract
impl<'de> QueryFragment<'de> for Contract
§type SchemaType = Contract
type SchemaType = Contract
The type in a schema that this
QueryFragment
representssource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder