Struct tea_tapp_common::sys::FreezeOptions
source · pub struct FreezeOptions {
pub custom_txn: bool,
pub persist_cronjob: bool,
pub ticks: bool,
pub tappstore_cronjobs: bool,
pub layer1: bool,
pub adapter: bool,
pub libp2p: bool,
}Fields§
§custom_txn: booldo not allow custom txns send from B nodes
persist_cronjob: boolpersis cronjobs
ticks: boolall random tick drops
tappstore_cronjobs: boolall tappstore cronjobs
layer1: boolfreeze layer1 event
adapter: boolfreeze all outside http request
libp2p: boolfreeze all libp2p request
Trait Implementations§
source§impl Clone for FreezeOptions
impl Clone for FreezeOptions
source§fn clone(&self) -> FreezeOptions
fn clone(&self) -> FreezeOptions
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 FreezeOptions
impl Debug for FreezeOptions
source§impl Default for FreezeOptions
impl Default for FreezeOptions
source§impl<'de> Deserialize<'de> for FreezeOptions
impl<'de> Deserialize<'de> for FreezeOptions
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