pub enum FunctionSetValue {
Value {
value: String,
use_to: bool,
},
FromCurrent,
}Expand description
The value of a SET option
Variants§
Value
SET key = value (use_to = false) or SET key TO value (use_to = true)
FromCurrent
SET key FROM CURRENT
Trait Implementations§
Source§impl Clone for FunctionSetValue
impl Clone for FunctionSetValue
Source§fn clone(&self) -> FunctionSetValue
fn clone(&self) -> FunctionSetValue
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 FunctionSetValue
impl Debug for FunctionSetValue
Source§impl<'de> Deserialize<'de> for FunctionSetValue
impl<'de> Deserialize<'de> for FunctionSetValue
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 PartialEq for FunctionSetValue
impl PartialEq for FunctionSetValue
Source§impl Serialize for FunctionSetValue
impl Serialize for FunctionSetValue
impl StructuralPartialEq for FunctionSetValue
Auto Trait Implementations§
impl Freeze for FunctionSetValue
impl RefUnwindSafe for FunctionSetValue
impl Send for FunctionSetValue
impl Sync for FunctionSetValue
impl Unpin for FunctionSetValue
impl UnwindSafe for FunctionSetValue
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