pub struct PlPgSqlIfBranch {
pub condition: Expr,
pub statements: Vec<PlPgSqlStatement>,
}Expand description
One conditional PL/pgSQL branch.
Fields§
§condition: ExprBranch condition.
statements: Vec<PlPgSqlStatement>Statements run when the condition is true.
Trait Implementations§
Source§impl Clone for PlPgSqlIfBranch
impl Clone for PlPgSqlIfBranch
Source§impl Debug for PlPgSqlIfBranch
impl Debug for PlPgSqlIfBranch
Source§impl<'de> Deserialize<'de> for PlPgSqlIfBranch
impl<'de> Deserialize<'de> for PlPgSqlIfBranch
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
impl Eq for PlPgSqlIfBranch
Source§impl Hash for PlPgSqlIfBranch
impl Hash for PlPgSqlIfBranch
Source§impl Ord for PlPgSqlIfBranch
impl Ord for PlPgSqlIfBranch
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 PlPgSqlIfBranch
impl PartialEq for PlPgSqlIfBranch
Source§impl PartialOrd for PlPgSqlIfBranch
impl PartialOrd for PlPgSqlIfBranch
Source§impl Serialize for PlPgSqlIfBranch
impl Serialize for PlPgSqlIfBranch
impl StructuralPartialEq for PlPgSqlIfBranch
Source§impl Visit for PlPgSqlIfBranch
impl Visit for PlPgSqlIfBranch
Source§impl VisitMut for PlPgSqlIfBranch
impl VisitMut for PlPgSqlIfBranch
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 PlPgSqlIfBranch
impl RefUnwindSafe for PlPgSqlIfBranch
impl Send for PlPgSqlIfBranch
impl Sync for PlPgSqlIfBranch
impl Unpin for PlPgSqlIfBranch
impl UnsafeUnpin for PlPgSqlIfBranch
impl UnwindSafe for PlPgSqlIfBranch
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