pub enum MethodKind {
Init,
UpdateStateless,
UpdateStatefulRo,
UpdateStatefulRw,
ViewStateless,
ViewStatefulRo,
}
Variants§
Init
Corresponds to ContractMetadataKind::Init
UpdateStateless
Corresponds to ContractMetadataKind::UpdateStateless
UpdateStatefulRo
Corresponds to ContractMetadataKind::UpdateStatefulRo
UpdateStatefulRw
Corresponds to ContractMetadataKind::UpdateStatefulRw
ViewStateless
Corresponds to ContractMetadataKind::ViewStateless
ViewStatefulRo
Corresponds to ContractMetadataKind::ViewStatefulRo
Implementations§
Trait Implementations§
Source§impl Clone for MethodKind
impl Clone for MethodKind
Source§fn clone(&self) -> MethodKind
fn clone(&self) -> MethodKind
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 MethodKind
impl Debug for MethodKind
impl Copy for MethodKind
Auto Trait Implementations§
impl Freeze for MethodKind
impl RefUnwindSafe for MethodKind
impl Send for MethodKind
impl Sync for MethodKind
impl Unpin for MethodKind
impl UnwindSafe for MethodKind
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