pub struct DoStatement {
pub body: ValueWithSpan,
pub language: Option<Ident>,
pub language_before_body: bool,
}Expand description
A PostgreSQL anonymous code block.
Fields§
§body: ValueWithSpanRaw string body.
language: Option<Ident>Optional procedural language.
language_before_body: boolWhether LANGUAGE appeared before the body.
Trait Implementations§
Source§impl Clone for DoStatement
impl Clone for DoStatement
Source§impl Debug for DoStatement
impl Debug for DoStatement
Source§impl<'de> Deserialize<'de> for DoStatement
impl<'de> Deserialize<'de> for DoStatement
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 Display for DoStatement
impl Display for DoStatement
impl Eq for DoStatement
Source§impl From<DoStatement> for Statement
impl From<DoStatement> for Statement
Source§fn from(statement: DoStatement) -> Self
fn from(statement: DoStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for DoStatement
impl Hash for DoStatement
Source§impl Ord for DoStatement
impl Ord for DoStatement
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DoStatement
impl PartialEq for DoStatement
Source§impl PartialOrd for DoStatement
impl PartialOrd for DoStatement
Source§impl Serialize for DoStatement
impl Serialize for DoStatement
impl StructuralPartialEq for DoStatement
Source§impl Visit for DoStatement
impl Visit for DoStatement
Source§impl VisitMut for DoStatement
impl VisitMut for DoStatement
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreAuto Trait Implementations§
impl Freeze for DoStatement
impl RefUnwindSafe for DoStatement
impl Send for DoStatement
impl Sync for DoStatement
impl Unpin for DoStatement
impl UnsafeUnpin for DoStatement
impl UnwindSafe for DoStatement
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