pub struct SetAssignment {
pub scope: Option<ContextModifier>,
pub name: ObjectName,
pub value: Expr,
}
Expand description
Assignment for a SET
statement (name [=|TO] value)
Fields§
§scope: Option<ContextModifier>
§name: ObjectName
§value: Expr
Trait Implementations§
Source§impl Clone for SetAssignment
impl Clone for SetAssignment
Source§fn clone(&self) -> SetAssignment
fn clone(&self) -> SetAssignment
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 SetAssignment
impl Debug for SetAssignment
Source§impl<'de> Deserialize<'de> for SetAssignment
impl<'de> Deserialize<'de> for SetAssignment
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 SetAssignment
impl Display for SetAssignment
Source§impl Hash for SetAssignment
impl Hash for SetAssignment
Source§impl Ord for SetAssignment
impl Ord for SetAssignment
Source§fn cmp(&self, other: &SetAssignment) -> Ordering
fn cmp(&self, other: &SetAssignment) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SetAssignment
impl PartialEq for SetAssignment
Source§impl PartialOrd for SetAssignment
impl PartialOrd for SetAssignment
Source§impl Serialize for SetAssignment
impl Serialize for SetAssignment
Source§impl Visit for SetAssignment
impl Visit for SetAssignment
Source§impl VisitMut for SetAssignment
impl VisitMut for SetAssignment
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for SetAssignment
impl StructuralPartialEq for SetAssignment
Auto Trait Implementations§
impl Freeze for SetAssignment
impl RefUnwindSafe for SetAssignment
impl Send for SetAssignment
impl Sync for SetAssignment
impl Unpin for SetAssignment
impl UnwindSafe for SetAssignment
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