pub struct SimnetConfig {
pub remote_rpc_url: String,
pub slot_time: u64,
pub block_production_mode: BlockProductionMode,
pub airdrop_addresses: Vec<Pubkey>,
pub airdrop_token_amount: u64,
}Fields§
§remote_rpc_url: String§slot_time: u64§block_production_mode: BlockProductionMode§airdrop_addresses: Vec<Pubkey>§airdrop_token_amount: u64Trait Implementations§
Source§impl Clone for SimnetConfig
impl Clone for SimnetConfig
Source§fn clone(&self) -> SimnetConfig
fn clone(&self) -> SimnetConfig
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 SimnetConfig
impl Debug for SimnetConfig
Auto Trait Implementations§
impl Freeze for SimnetConfig
impl RefUnwindSafe for SimnetConfig
impl Send for SimnetConfig
impl Sync for SimnetConfig
impl Unpin for SimnetConfig
impl UnwindSafe for SimnetConfig
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