#[non_exhaustive]pub struct BatchData {
pub number_of_transactions: Option<u32>,
pub transactions: Vec<BatchTransactionDetails>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.number_of_transactions: Option<u32>Number of transactions in the batch, if known.
transactions: Vec<BatchTransactionDetails>Details of transactions in the batch.
Note that this does not necessarily match a given number of transactions. It could be e.g. empty as no details are given or a single entry with common details on all transactions in the batch.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BatchData
impl<'de> Deserialize<'de> for BatchData
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
impl Eq for BatchData
impl StructuralPartialEq for BatchData
Auto Trait Implementations§
impl Freeze for BatchData
impl RefUnwindSafe for BatchData
impl Send for BatchData
impl Sync for BatchData
impl Unpin for BatchData
impl UnwindSafe for BatchData
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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