pub struct SpammerConfigs { /* private fields */ }
Implementations§
Source§impl SpammerConfigs
impl SpammerConfigs
pub fn new() -> SpammerConfigs
pub fn get_spammer_configs(&self) -> &Spammer
Trait Implementations§
Source§impl Clone for SpammerConfigs
impl Clone for SpammerConfigs
Source§fn clone(&self) -> SpammerConfigs
fn clone(&self) -> SpammerConfigs
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 Configuration for SpammerConfigs
impl Configuration for SpammerConfigs
fn get_server_configs(&self) -> Option<&Server>
fn get_peer_configs(&self) -> &Vec<PeerConfig>
fn get_blockchain_configs(&self) -> &BlockchainConfig
fn get_block_fetch_url(&self) -> String
fn is_spv_mode(&self) -> bool
fn is_browser(&self) -> bool
fn replace(&mut self, config: &dyn Configuration)
fn get_consensus_config(&self) -> Option<&ConsensusConfig>
Source§impl Debug for SpammerConfigs
impl Debug for SpammerConfigs
Source§impl<'de> Deserialize<'de> for SpammerConfigs
impl<'de> Deserialize<'de> for SpammerConfigs
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
Auto Trait Implementations§
impl Freeze for SpammerConfigs
impl RefUnwindSafe for SpammerConfigs
impl Send for SpammerConfigs
impl Sync for SpammerConfigs
impl Unpin for SpammerConfigs
impl UnwindSafe for SpammerConfigs
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