pub struct SolanaNetworkConfig {
pub name: String,
pub rpc_url: String,
pub ws_url: Option<String>,
pub explorer_url: Option<String>,
}Expand description
Solana-specific network configuration
Fields§
§name: StringNetwork name (mainnet, devnet, testnet)
rpc_url: StringRPC endpoint URL
ws_url: Option<String>Optional WebSocket URL
explorer_url: Option<String>Optional block explorer URL
Implementations§
Trait Implementations§
Source§impl Clone for SolanaNetworkConfig
impl Clone for SolanaNetworkConfig
Source§fn clone(&self) -> SolanaNetworkConfig
fn clone(&self) -> SolanaNetworkConfig
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 SolanaNetworkConfig
impl Debug for SolanaNetworkConfig
Source§impl<'de> Deserialize<'de> for SolanaNetworkConfig
impl<'de> Deserialize<'de> for SolanaNetworkConfig
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 SolanaNetworkConfig
impl RefUnwindSafe for SolanaNetworkConfig
impl Send for SolanaNetworkConfig
impl Sync for SolanaNetworkConfig
impl Unpin for SolanaNetworkConfig
impl UnwindSafe for SolanaNetworkConfig
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