pub struct ContractSourceMetadata {
pub version: Option<String>,
pub link: Option<String>,
pub standards: Vec<Standard>,
}
Expand description
The contract source metadata is a standard interface that allows auditing and viewing source code for a deployed smart contract.
Fields§
§version: Option<String>
§link: Option<String>
§standards: Vec<Standard>
Trait Implementations§
Source§impl Clone for ContractSourceMetadata
impl Clone for ContractSourceMetadata
Source§fn clone(&self) -> ContractSourceMetadata
fn clone(&self) -> ContractSourceMetadata
Returns a copy 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 ContractSourceMetadata
impl Debug for ContractSourceMetadata
Source§impl<'de> Deserialize<'de> for ContractSourceMetadata
impl<'de> Deserialize<'de> for ContractSourceMetadata
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 ContractSourceMetadata
impl PartialEq for ContractSourceMetadata
Source§impl Serialize for ContractSourceMetadata
impl Serialize for ContractSourceMetadata
impl StructuralPartialEq for ContractSourceMetadata
Auto Trait Implementations§
impl Freeze for ContractSourceMetadata
impl RefUnwindSafe for ContractSourceMetadata
impl Send for ContractSourceMetadata
impl Sync for ContractSourceMetadata
impl Unpin for ContractSourceMetadata
impl UnwindSafe for ContractSourceMetadata
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