pub struct PlPgSqlDeclaration {
pub name: Ident,
pub data_type: DataType,
pub initializer: Option<Expr>,
}Expand description
A PL/pgSQL local variable declaration.
Fields§
§name: IdentVariable name.
data_type: DataTypeDeclared SQL type.
initializer: Option<Expr>Optional initializer.
Trait Implementations§
Source§impl Clone for PlPgSqlDeclaration
impl Clone for PlPgSqlDeclaration
Source§impl Debug for PlPgSqlDeclaration
impl Debug for PlPgSqlDeclaration
Source§impl<'de> Deserialize<'de> for PlPgSqlDeclaration
impl<'de> Deserialize<'de> for PlPgSqlDeclaration
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 PlPgSqlDeclaration
impl Display for PlPgSqlDeclaration
impl Eq for PlPgSqlDeclaration
Source§impl Hash for PlPgSqlDeclaration
impl Hash for PlPgSqlDeclaration
Source§impl Ord for PlPgSqlDeclaration
impl Ord for PlPgSqlDeclaration
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 PlPgSqlDeclaration
impl PartialEq for PlPgSqlDeclaration
Source§impl PartialOrd for PlPgSqlDeclaration
impl PartialOrd for PlPgSqlDeclaration
Source§impl Serialize for PlPgSqlDeclaration
impl Serialize for PlPgSqlDeclaration
impl StructuralPartialEq for PlPgSqlDeclaration
Source§impl Visit for PlPgSqlDeclaration
impl Visit for PlPgSqlDeclaration
Source§impl VisitMut for PlPgSqlDeclaration
impl VisitMut for PlPgSqlDeclaration
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 PlPgSqlDeclaration
impl RefUnwindSafe for PlPgSqlDeclaration
impl Send for PlPgSqlDeclaration
impl Sync for PlPgSqlDeclaration
impl Unpin for PlPgSqlDeclaration
impl UnsafeUnpin for PlPgSqlDeclaration
impl UnwindSafe for PlPgSqlDeclaration
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