Enum near_contract_tools::pause::PauseEvent
source · pub enum PauseEvent {
Pause,
Unpause,
}
Expand description
Events emitted when contract pause state is changed
Variants§
Trait Implementations§
source§impl Clone for PauseEvent
impl Clone for PauseEvent
source§fn clone(&self) -> PauseEvent
fn clone(&self) -> PauseEvent
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 PauseEvent
impl Debug for PauseEvent
source§impl Serialize for PauseEvent
impl Serialize for PauseEvent
source§impl ToEventLog for PauseEvent
impl ToEventLog for PauseEvent
§type Data = PauseEvent
type Data = PauseEvent
Metadata associated with the event
source§fn to_event_log<'__el>(&'__el self) -> EventLog<&'__el Self>
fn to_event_log<'__el>(&'__el self) -> EventLog<&'__el Self>
Retrieves the event log before serialization