pub enum ConfigAccountType {
StakeConfig(UiStakeConfig),
ValidatorInfo(UiConfig<Value>),
}
Variants§
StakeConfig(UiStakeConfig)
ValidatorInfo(UiConfig<Value>)
Trait Implementations§
source§impl Debug for ConfigAccountType
impl Debug for ConfigAccountType
source§impl<'de> Deserialize<'de> for ConfigAccountType
impl<'de> Deserialize<'de> for ConfigAccountType
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 ConfigAccountType
impl PartialEq for ConfigAccountType
source§fn eq(&self, other: &ConfigAccountType) -> bool
fn eq(&self, other: &ConfigAccountType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigAccountType
impl Serialize for ConfigAccountType
impl StructuralPartialEq for ConfigAccountType
Auto Trait Implementations§
impl RefUnwindSafe for ConfigAccountType
impl Send for ConfigAccountType
impl Sync for ConfigAccountType
impl Unpin for ConfigAccountType
impl UnwindSafe for ConfigAccountType
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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