pub struct BlockChainConfig {
pub start_block: u32,
pub end_block: u32,
}Fields§
§start_block: u32Defines since what block to start trigger spell 0 means ‘do not subscribe’ TODO: what about blocks in the past? will host replay them?
end_block: u32Defines until what block to keep trigger spell. Will not trigger after that block. 0 means ‘never stop’
Trait Implementations§
Source§impl Clone for BlockChainConfig
impl Clone for BlockChainConfig
Source§fn clone(&self) -> BlockChainConfig
fn clone(&self) -> BlockChainConfig
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 BlockChainConfig
impl Debug for BlockChainConfig
Source§impl Default for BlockChainConfig
impl Default for BlockChainConfig
Source§fn default() -> BlockChainConfig
fn default() -> BlockChainConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockChainConfig
impl<'de> Deserialize<'de> for BlockChainConfig
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
Source§impl PartialEq for BlockChainConfig
impl PartialEq for BlockChainConfig
Source§impl Serialize for BlockChainConfig
impl Serialize for BlockChainConfig
impl Eq for BlockChainConfig
impl StructuralPartialEq for BlockChainConfig
Auto Trait Implementations§
impl Freeze for BlockChainConfig
impl RefUnwindSafe for BlockChainConfig
impl Send for BlockChainConfig
impl Sync for BlockChainConfig
impl Unpin for BlockChainConfig
impl UnwindSafe for BlockChainConfig
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