Struct sov_modules_stf_template::RawTx
source · pub struct RawTx {
pub data: Vec<u8>,
}
Expand description
RawTx represents a serialized rollup transaction received from the DA.
Fields§
§data: Vec<u8>
Serialized transaction.
Trait Implementations§
source§impl BorshDeserialize for RawTxwhere
Vec<u8>: BorshDeserialize,
impl BorshDeserialize for RawTxwhere Vec<u8>: BorshDeserialize,
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 RawTxwhere
Vec<u8>: BorshSerialize,
impl BorshSerialize for RawTxwhere Vec<u8>: BorshSerialize,
source§impl<'de> Deserialize<'de> for RawTx
impl<'de> Deserialize<'de> for RawTx
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 PartialEq<RawTx> for RawTx
impl PartialEq<RawTx> for RawTx
impl StructuralPartialEq for RawTx
Auto Trait Implementations§
impl RefUnwindSafe for RawTx
impl Send for RawTx
impl Sync for RawTx
impl Unpin for RawTx
impl UnwindSafe for RawTx
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