pub struct Transaction {
pub id: Uuid,
pub operations: Vec<Operation>,
}Fields§
§id: Uuid§operations: Vec<Operation>Implementations§
Source§impl Transaction
impl Transaction
pub fn new() -> Transaction
pub fn add_operation(&mut self, operation: Operation) -> &mut Transaction
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
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