Struct solana_sdk::feature::Feature
source · pub struct Feature {
pub activated_at: Option<u64>,
}
Fields§
§activated_at: Option<u64>
Implementations§
source§impl Feature
impl Feature
pub const fn size_of() -> usize
pub fn from_account_info( account_info: &AccountInfo<'_> ) -> Result<Feature, ProgramError>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Feature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Feature, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Feature> for Feature
impl PartialEq<Feature> for Feature
source§impl Serialize for Feature
impl Serialize for Feature
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more