#[repr(C)]pub struct Entry {
pub blockhash: Hash,
pub fee_calculator: FeeCalculator,
}๐Deprecated since 1.9.0:
Please do not use, will no longer be available in the future
Fieldsยง
ยงblockhash: Hash๐Deprecated since 1.9.0:
ยงPlease do not use, will no longer be available in the future
fee_calculator: FeeCalculator๐Deprecated since 1.9.0:
Please do not use, will no longer be available in the future
Implementationsยง
Trait Implementationsยง
impl Eq for Entry
Sourceยงimpl<'de, __WincodeConfig> SchemaRead<'de, __WincodeConfig> for Entrywhere
__WincodeConfig: Config,
impl<'de, __WincodeConfig> SchemaRead<'de, __WincodeConfig> for Entrywhere
__WincodeConfig: Config,
Sourceยงimpl<__WincodeConfig> SchemaWrite<__WincodeConfig> for Entrywhere
__WincodeConfig: Config,
impl<__WincodeConfig> SchemaWrite<__WincodeConfig> for Entrywhere
__WincodeConfig: Config,
type Src = Entry
Sourceยงfn size_of(
src: &<Entry as SchemaWrite<__WincodeConfig>>::Src,
) -> Result<usize, WriteError>
fn size_of( src: &<Entry as SchemaWrite<__WincodeConfig>>::Src, ) -> Result<usize, WriteError>
Get the serialized size of
Self::Src. Read moreSourceยงfn write(
writer: impl Writer,
src: &<Entry as SchemaWrite<__WincodeConfig>>::Src,
) -> Result<(), WriteError>
fn write( writer: impl Writer, src: &<Entry as SchemaWrite<__WincodeConfig>>::Src, ) -> Result<(), WriteError>
Write
Self::Src to writer.impl StructuralPartialEq for Entry
Sourceยงimpl<__WincodeConfig> ZeroCopy<__WincodeConfig> for Entrywhere
__WincodeConfig: Config,
Hash: for<'_wincode_internal> ZeroCopy<__WincodeConfig>,
FeeCalculator: for<'_wincode_internal> ZeroCopy<__WincodeConfig>,
__WincodeAssert<solana_sysvar::::recent_blockhashes::_#2::{impl#1}::{constant#0}>: for<'_wincode_internal> __WincodeIsTrue,
impl<__WincodeConfig> ZeroCopy<__WincodeConfig> for Entrywhere
__WincodeConfig: Config,
Hash: for<'_wincode_internal> ZeroCopy<__WincodeConfig>,
FeeCalculator: for<'_wincode_internal> ZeroCopy<__WincodeConfig>,
__WincodeAssert<solana_sysvar::::recent_blockhashes::_#2::{impl#1}::{constant#0}>: for<'_wincode_internal> __WincodeIsTrue,
Sourceยงfn from_bytes<'de>(bytes: &'de [u8], config: C) -> Result<&'de Self, ReadError>where
Self: Sized + SchemaRead<'de, C, Dst = Self>,
fn from_bytes<'de>(bytes: &'de [u8], config: C) -> Result<&'de Self, ReadError>where
Self: Sized + SchemaRead<'de, C, Dst = Self>,
Like
crate::ZeroCopy::from_bytes, but allows the caller to provide a custom configuration.Sourceยงfn from_bytes_mut<'de>(
bytes: &'de mut [u8],
config: C,
) -> Result<&'de mut Self, ReadError>where
Self: Sized + SchemaRead<'de, C, Dst = Self>,
fn from_bytes_mut<'de>(
bytes: &'de mut [u8],
config: C,
) -> Result<&'de mut Self, ReadError>where
Self: Sized + SchemaRead<'de, C, Dst = Self>,
Like
crate::ZeroCopy::from_bytes_mut, but allows the caller to provide a custom configuration.Auto Trait Implementationsยง
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<'de, T, C> Deserialize<'de, C> for Twhere
C: Config,
T: SchemaRead<'de, C>,
impl<'de, T, C> Deserialize<'de, C> for Twhere
C: Config,
T: SchemaRead<'de, C>,
Sourceยงimpl<'de, T> Deserialize<'de> for Twhere
T: SchemaRead<'de, Configuration>,
impl<'de, T> Deserialize<'de> for Twhere
T: SchemaRead<'de, Configuration>,
Sourceยงimpl<T> DeserializeOwned for Twhere
T: SchemaReadOwned<Configuration>,
impl<T> DeserializeOwned for Twhere
T: SchemaReadOwned<Configuration>,
Sourceยงfn deserialize_from<'de>(src: impl Reader<'de>) -> Result<Self::Dst, ReadError>
fn deserialize_from<'de>(src: impl Reader<'de>) -> Result<Self::Dst, ReadError>
Deserialize from the given
Reader into a new Self::Dst.Sourceยงfn deserialize_from_into<'de>(
src: impl Reader<'de>,
dst: &mut MaybeUninit<Self::Dst>,
) -> Result<(), ReadError>
fn deserialize_from_into<'de>( src: impl Reader<'de>, dst: &mut MaybeUninit<Self::Dst>, ) -> Result<(), ReadError>
Deserialize from the given
Reader into dst.Sourceยงimpl<T, C> DeserializeOwned<C> for Twhere
C: Config,
T: SchemaReadOwned<C>,
impl<T, C> DeserializeOwned<C> for Twhere
C: Config,
T: SchemaReadOwned<C>,
Sourceยงfn deserialize_from<'de>(src: impl Reader<'de>) -> Result<Self::Dst, ReadError>
fn deserialize_from<'de>(src: impl Reader<'de>) -> Result<Self::Dst, ReadError>
Deserialize from the given
Reader into a new Self::Dst.Sourceยงfn deserialize_from_into<'de>(
src: impl Reader<'de>,
dst: &mut MaybeUninit<Self::Dst>,
) -> Result<(), ReadError>
fn deserialize_from_into<'de>( src: impl Reader<'de>, dst: &mut MaybeUninit<Self::Dst>, ) -> Result<(), ReadError>
Deserialize from the given
Reader into dst.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T, C> SchemaReadOwned<C> for Twhere
C: ConfigCore,
T: for<'de> SchemaRead<'de, C>,
Sourceยงimpl<T> Serialize for T
impl<T> Serialize for T
Sourceยงfn serialize(src: &Self::Src) -> Result<Vec<u8>, WriteError>
fn serialize(src: &Self::Src) -> Result<Vec<u8>, WriteError>
Available on crate feature
alloc only.Serialize a serializable type into a
Vec of bytes.Sourceยงfn serialize_into(dst: impl Writer, src: &Self::Src) -> Result<(), WriteError>
fn serialize_into(dst: impl Writer, src: &Self::Src) -> Result<(), WriteError>
Serialize a serializable type into the given byte buffer. Read more
Sourceยงfn serialized_size(src: &Self::Src) -> Result<u64, WriteError>
fn serialized_size(src: &Self::Src) -> Result<u64, WriteError>
Get the size in bytes of the type when serialized.
Sourceยงimpl<T, C> Serialize<C> for T
impl<T, C> Serialize<C> for T
Sourceยงfn serialize(src: &Self::Src, config: C) -> Result<Vec<u8>, WriteError>
fn serialize(src: &Self::Src, config: C) -> Result<Vec<u8>, WriteError>
Available on crate feature
alloc only.Serialize a serializable type into a
Vec of bytes.Sourceยงfn serialize_into(
dst: impl Writer,
src: &Self::Src,
config: C,
) -> Result<(), WriteError>
fn serialize_into( dst: impl Writer, src: &Self::Src, config: C, ) -> Result<(), WriteError>
Sourceยงfn serialized_size(src: &Self::Src, config: C) -> Result<u64, WriteError>
fn serialized_size(src: &Self::Src, config: C) -> Result<u64, WriteError>
Get the size in bytes of the type when serialized.