Struct db_up::SqlStatementAnnotation
source · 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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