pub struct MerklePriceUpdate {
pub message: PrefixedVec<u16, u8>,
pub proof: MerklePath<Keccak160>,
}
Fields§
§message: PrefixedVec<u16, u8>
§proof: MerklePath<Keccak160>
Trait Implementations§
Source§impl BorshDeserialize for MerklePriceUpdate
impl BorshDeserialize for MerklePriceUpdate
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for MerklePriceUpdate
impl BorshSerialize for MerklePriceUpdate
Source§impl Clone for MerklePriceUpdate
impl Clone for MerklePriceUpdate
Source§fn clone(&self) -> MerklePriceUpdate
fn clone(&self) -> MerklePriceUpdate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MerklePriceUpdate
impl Debug for MerklePriceUpdate
Source§impl<'de> Deserialize<'de> for MerklePriceUpdate
impl<'de> Deserialize<'de> for MerklePriceUpdate
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 Hash for MerklePriceUpdate
impl Hash for MerklePriceUpdate
Source§impl PartialEq for MerklePriceUpdate
impl PartialEq for MerklePriceUpdate
Source§impl Serialize for MerklePriceUpdate
impl Serialize for MerklePriceUpdate
impl StructuralPartialEq for MerklePriceUpdate
Auto Trait Implementations§
impl Freeze for MerklePriceUpdate
impl RefUnwindSafe for MerklePriceUpdate
impl Send for MerklePriceUpdate
impl Sync for MerklePriceUpdate
impl Unpin for MerklePriceUpdate
impl UnwindSafe for MerklePriceUpdate
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