pub struct ContractDef {
pub codec: Option<String>,
pub profile: Option<String>,
pub container: Option<String>,
pub ensures: Vec<String>,
pub complexity: HashMap<String, String>,
pub other: HashMap<String, Value>,
}Fields§
§codec: Option<String>§profile: Option<String>§container: Option<String>§ensures: Vec<String>§complexity: HashMap<String, String>§other: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ContractDef
impl Clone for ContractDef
Source§fn clone(&self) -> ContractDef
fn clone(&self) -> ContractDef
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 moreSource§impl Debug for ContractDef
impl Debug for ContractDef
Source§impl<'de> Deserialize<'de> for ContractDef
impl<'de> Deserialize<'de> for ContractDef
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 ContractDef
impl PartialEq for ContractDef
Source§impl Serialize for ContractDef
impl Serialize for ContractDef
impl StructuralPartialEq for ContractDef
Auto Trait Implementations§
impl Freeze for ContractDef
impl RefUnwindSafe for ContractDef
impl Send for ContractDef
impl Sync for ContractDef
impl Unpin for ContractDef
impl UnwindSafe for ContractDef
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