pub struct NeoContractMethod {
pub name: String,
pub parameters: Vec<NeoContractParameter>,
pub return_type: String,
pub offset: u32,
pub safe: bool,
}Expand description
Neo N3 Contract Method
Fields§
§name: String§parameters: Vec<NeoContractParameter>§return_type: String§offset: u32§safe: boolTrait Implementations§
Source§impl Clone for NeoContractMethod
impl Clone for NeoContractMethod
Source§fn clone(&self) -> NeoContractMethod
fn clone(&self) -> NeoContractMethod
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 NeoContractMethod
impl Debug for NeoContractMethod
Source§impl<'de> Deserialize<'de> for NeoContractMethod
impl<'de> Deserialize<'de> for NeoContractMethod
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NeoContractMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NeoContractMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NeoContractMethod
impl PartialEq for NeoContractMethod
Source§impl Serialize for NeoContractMethod
impl Serialize for NeoContractMethod
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 NeoContractMethod
impl StructuralPartialEq for NeoContractMethod
Auto Trait Implementations§
impl Freeze for NeoContractMethod
impl RefUnwindSafe for NeoContractMethod
impl Send for NeoContractMethod
impl Sync for NeoContractMethod
impl Unpin for NeoContractMethod
impl UnwindSafe for NeoContractMethod
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