#[repr(C)]pub struct BeginTransactionOptions_Layout<'hint>{
pub is_read_only: CLayoutOf<bool>,
pub hint: CLayoutOf<Option<Ref<'hint>>>,
}Expand description
FFI appropriate representation of the options available when beginning a transaction.
Fields§
§is_read_only: CLayoutOf<bool>Whether the transaction is read-only. Defaults to false.
hint: CLayoutOf<Option<Ref<'hint>>>An optional hint for the transaction. This is often useful for identifying a transaction in logs.
Trait Implementations§
Source§impl<'hint> CType for BeginTransactionOptions_Layout<'hint>
impl<'hint> CType for BeginTransactionOptions_Layout<'hint>
Source§impl<'hint> Clone for BeginTransactionOptions_Layout<'hint>
impl<'hint> Clone for BeginTransactionOptions_Layout<'hint>
Source§impl<'hint> ReprC for BeginTransactionOptions_Layout<'hint>
impl<'hint> ReprC for BeginTransactionOptions_Layout<'hint>
impl<'hint> Copy for BeginTransactionOptions_Layout<'hint>
Auto Trait Implementations§
impl<'hint> !Freeze for BeginTransactionOptions_Layout<'hint>
impl<'hint> !RefUnwindSafe for BeginTransactionOptions_Layout<'hint>
impl<'hint> !Send for BeginTransactionOptions_Layout<'hint>
impl<'hint> !Sync for BeginTransactionOptions_Layout<'hint>
impl<'hint> !Unpin for BeginTransactionOptions_Layout<'hint>
impl<'hint> !UnwindSafe for BeginTransactionOptions_Layout<'hint>
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