pub struct NeoContractManifest {
pub name: String,
pub version: String,
pub author: String,
pub email: String,
pub description: String,
pub abi: NeoContractABI,
pub permissions: Vec<NeoContractPermission>,
pub trusts: Vec<String>,
pub supported_standards: Vec<String>,
}Expand description
Neo N3 Contract Manifest
Fields§
§name: String§version: String§email: String§description: String§abi: NeoContractABI§permissions: Vec<NeoContractPermission>§trusts: Vec<String>§supported_standards: Vec<String>Trait Implementations§
Source§impl Clone for NeoContractManifest
impl Clone for NeoContractManifest
Source§fn clone(&self) -> NeoContractManifest
fn clone(&self) -> NeoContractManifest
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 NeoContractManifest
impl Debug for NeoContractManifest
Source§impl<'de> Deserialize<'de> for NeoContractManifest
impl<'de> Deserialize<'de> for NeoContractManifest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NeoContractManifest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NeoContractManifest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NeoContractManifest
impl PartialEq for NeoContractManifest
Source§impl Serialize for NeoContractManifest
impl Serialize for NeoContractManifest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for NeoContractManifest
impl StructuralPartialEq for NeoContractManifest
Auto Trait Implementations§
impl Freeze for NeoContractManifest
impl RefUnwindSafe for NeoContractManifest
impl Send for NeoContractManifest
impl Sync for NeoContractManifest
impl Unpin for NeoContractManifest
impl UnwindSafe for NeoContractManifest
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