Struct solana_sdk::short_vec::ShortVec
source · pub struct ShortVec<T>(pub Vec<T, Global>);
Tuple Fields§
§0: Vec<T, Global>
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for ShortVec<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ShortVec<T>where T: Deserialize<'de>,
source§fn deserialize<D>(
deserializer: D
) -> Result<ShortVec<T>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<ShortVec<T>, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> Serialize for ShortVec<T>where
T: Serialize,
impl<T> Serialize for ShortVec<T>where T: Serialize,
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