pub struct TransactionFormat {
pub event_format: Option<Box<EventFormat>>,
pub transaction_shape: Box<TransactionShape>,
}
Expand description
TransactionFormat : A format that specifies what events to include in Daml transactions and what data to compute and include for them.
Fields§
§event_format: Option<Box<EventFormat>>
§transaction_shape: Box<TransactionShape>
Implementations§
Source§impl TransactionFormat
impl TransactionFormat
Sourcepub fn new(transaction_shape: TransactionShape) -> TransactionFormat
pub fn new(transaction_shape: TransactionShape) -> TransactionFormat
A format that specifies what events to include in Daml transactions and what data to compute and include for them.
Trait Implementations§
Source§impl Clone for TransactionFormat
impl Clone for TransactionFormat
Source§fn clone(&self) -> TransactionFormat
fn clone(&self) -> TransactionFormat
Returns a duplicate 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 TransactionFormat
impl Debug for TransactionFormat
Source§impl Default for TransactionFormat
impl Default for TransactionFormat
Source§fn default() -> TransactionFormat
fn default() -> TransactionFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionFormat
impl<'de> Deserialize<'de> for TransactionFormat
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 for TransactionFormat
impl PartialEq for TransactionFormat
Source§impl Serialize for TransactionFormat
impl Serialize for TransactionFormat
impl StructuralPartialEq for TransactionFormat
Auto Trait Implementations§
impl Freeze for TransactionFormat
impl RefUnwindSafe for TransactionFormat
impl Send for TransactionFormat
impl Sync for TransactionFormat
impl Unpin for TransactionFormat
impl UnwindSafe for TransactionFormat
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