pub struct UfePendingBlockHash;Expand description
Serialize/deserialize Option<Felt> as hex strings in a pending block hash context. For use
with serde_with.
Trait Implementations§
Source§impl Debug for UfePendingBlockHash
impl Debug for UfePendingBlockHash
Source§impl<'de> DeserializeAs<'de, Option<Felt>> for UfePendingBlockHash
impl<'de> DeserializeAs<'de, Option<Felt>> for UfePendingBlockHash
Source§fn deserialize_as<D>(deserializer: D) -> Result<Option<Felt>, D::Error>where
D: Deserializer<'de>,
fn deserialize_as<D>(deserializer: D) -> Result<Option<Felt>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer.
Source§impl SerializeAs<Option<Felt>> for UfePendingBlockHash
impl SerializeAs<Option<Felt>> for UfePendingBlockHash
Source§fn serialize_as<S>(
value: &Option<Felt>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
fn serialize_as<S>(
value: &Option<Felt>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
Serialize this value into the given Serde serializer.
Auto Trait Implementations§
impl Freeze for UfePendingBlockHash
impl RefUnwindSafe for UfePendingBlockHash
impl Send for UfePendingBlockHash
impl Sync for UfePendingBlockHash
impl Unpin for UfePendingBlockHash
impl UnwindSafe for UfePendingBlockHash
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