Enum solana_sdk::genesis_config::ClusterType
source · pub enum ClusterType {
Testnet,
MainnetBeta,
Devnet,
Development,
}
Variants§
Implementations§
Trait Implementations§
source§impl AbiEnumVisitor for ClusterType
impl AbiEnumVisitor for ClusterType
fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult
source§impl AbiExample for ClusterType
impl AbiExample for ClusterType
source§impl Clone for ClusterType
impl Clone for ClusterType
source§fn clone(&self) -> ClusterType
fn clone(&self) -> ClusterType
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 ClusterType
impl Debug for ClusterType
source§impl<'de> Deserialize<'de> for ClusterType
impl<'de> Deserialize<'de> for ClusterType
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 FromStr for ClusterType
impl FromStr for ClusterType
source§impl PartialEq<ClusterType> for ClusterType
impl PartialEq<ClusterType> for ClusterType
source§fn eq(&self, other: &ClusterType) -> bool
fn eq(&self, other: &ClusterType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.