pub enum TransactionBlockKeyword {
Transaction,
Work,
}Expand description
The optional block noise word written after BEGIN / COMMIT / ROLLBACK
(TRANSACTION or WORK): interchangeable synonyms carrying no meaning. The
canonical AST records which (if any) the source wrote so a source-fidelity render
replays it; a target re-spell and the redacted fingerprint drop it (the enclosing
Option is None for a bare keyword).
Variants§
Trait Implementations§
Source§impl Clone for TransactionBlockKeyword
impl Clone for TransactionBlockKeyword
Source§fn clone(&self) -> TransactionBlockKeyword
fn clone(&self) -> TransactionBlockKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransactionBlockKeyword
Source§impl Debug for TransactionBlockKeyword
impl Debug for TransactionBlockKeyword
Source§impl<'de> Deserialize<'de> for TransactionBlockKeyword
impl<'de> Deserialize<'de> for TransactionBlockKeyword
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 TransactionBlockKeyword
Source§impl Hash for TransactionBlockKeyword
impl Hash for TransactionBlockKeyword
Source§impl PartialEq for TransactionBlockKeyword
impl PartialEq for TransactionBlockKeyword
Source§impl Serialize for TransactionBlockKeyword
impl Serialize for TransactionBlockKeyword
impl StructuralPartialEq for TransactionBlockKeyword
Auto Trait Implementations§
impl Freeze for TransactionBlockKeyword
impl RefUnwindSafe for TransactionBlockKeyword
impl Send for TransactionBlockKeyword
impl Sync for TransactionBlockKeyword
impl Unpin for TransactionBlockKeyword
impl UnsafeUnpin for TransactionBlockKeyword
impl UnwindSafe for TransactionBlockKeyword
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