Struct mentat_ffi::TransactionChange
[−]
[src]
#[repr(C)]pub struct TransactionChange { pub txid: Entid, pub changes_len: usize, pub changes: Box<[Entid]>, }
A C representation of the change provided by the transaction observers from a single transact. Holds a transaction identifier, the changes as a set of affected attributes and the length of the list of changes.
#Safety
Callers are responsible for managing the memory for the return value.
A destructor destroy
is provided for releasing the memory for this
pointer type.
Fields
txid: Entid
changes_len: usize
changes: Box<[Entid]>
Trait Implementations
impl Debug for TransactionChange
[src]
impl Debug for TransactionChange
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TransactionChange
[src]
impl Clone for TransactionChange
fn clone(&self) -> TransactionChange
[src]
fn clone(&self) -> TransactionChange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for TransactionChange
impl Send for TransactionChange
impl Sync for TransactionChange
impl Sync for TransactionChange