Struct sov_modules_stf_template::Batch
source · pub struct Batch {
pub txs: Vec<RawTx>,
}
Expand description
Contains raw transactions obtained from the DA blob.
Fields§
§txs: Vec<RawTx>
Raw transactions.
Trait Implementations§
source§impl BorshDeserialize for Batchwhere
Vec<RawTx>: BorshDeserialize,
impl BorshDeserialize for Batchwhere Vec<RawTx>: 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 Batchwhere
Vec<RawTx>: BorshSerialize,
impl BorshSerialize for Batchwhere Vec<RawTx>: BorshSerialize,
source§impl<'de> Deserialize<'de> for Batch
impl<'de> Deserialize<'de> for Batch
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<Batch> for Batch
impl PartialEq<Batch> for Batch
impl StructuralPartialEq for Batch
Auto Trait Implementations§
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
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