pub struct SqlStatementAnnotation { /* private fields */ }
Expand description
The annotation of an SQL statement
Changelog files support annotating SQL statements so special error- and transaction-handling may be applied to the statement. Support for those annotations is not guaranteed by driver implementations.
Trait Implementations§
Source§impl Clone for SqlStatementAnnotation
impl Clone for SqlStatementAnnotation
Source§fn clone(&self) -> SqlStatementAnnotation
fn clone(&self) -> SqlStatementAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SqlStatementAnnotation
impl Debug for SqlStatementAnnotation
Source§impl<'de> Deserialize<'de> for SqlStatementAnnotation
impl<'de> Deserialize<'de> for SqlStatementAnnotation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SqlStatementAnnotation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SqlStatementAnnotation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SqlStatementAnnotation
impl Serialize for SqlStatementAnnotation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SqlStatementAnnotation
impl RefUnwindSafe for SqlStatementAnnotation
impl Send for SqlStatementAnnotation
impl Sync for SqlStatementAnnotation
impl Unpin for SqlStatementAnnotation
impl UnwindSafe for SqlStatementAnnotation
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