pub enum CommentType {
Line,
Block,
Hash,
}Expand description
The type of a SQL comment.
Variants§
Line
Single-line comment starting with --
Block
Block comment delimited by /* ... */
Hash
MySQL-style hash comment starting with #
Trait Implementations§
Source§impl Clone for CommentType
impl Clone for CommentType
Source§fn clone(&self) -> CommentType
fn clone(&self) -> CommentType
Returns a duplicate 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 CommentType
impl Debug for CommentType
Source§impl<'de> Deserialize<'de> for CommentType
impl<'de> Deserialize<'de> for CommentType
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
Source§impl Hash for CommentType
impl Hash for CommentType
Source§impl PartialEq for CommentType
impl PartialEq for CommentType
Source§impl Serialize for CommentType
impl Serialize for CommentType
impl Copy for CommentType
impl Eq for CommentType
impl StructuralPartialEq for CommentType
Auto Trait Implementations§
impl Freeze for CommentType
impl RefUnwindSafe for CommentType
impl Send for CommentType
impl Sync for CommentType
impl Unpin for CommentType
impl UnsafeUnpin for CommentType
impl UnwindSafe for CommentType
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