pub enum SafeSetupValue {
String(BoundedSetupString),
Code(SafeCode),
Integer(i64),
Bool(bool),
}Variants§
Trait Implementations§
Source§impl Clone for SafeSetupValue
impl Clone for SafeSetupValue
Source§fn clone(&self) -> SafeSetupValue
fn clone(&self) -> SafeSetupValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SafeSetupValue
impl Debug for SafeSetupValue
Source§impl<'de> Deserialize<'de> for SafeSetupValue
impl<'de> Deserialize<'de> for SafeSetupValue
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 SafeSetupValue
Source§impl PartialEq for SafeSetupValue
impl PartialEq for SafeSetupValue
Source§fn eq(&self, other: &SafeSetupValue) -> bool
fn eq(&self, other: &SafeSetupValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SafeSetupValue
impl Serialize for SafeSetupValue
impl StructuralPartialEq for SafeSetupValue
Auto Trait Implementations§
impl Freeze for SafeSetupValue
impl RefUnwindSafe for SafeSetupValue
impl Send for SafeSetupValue
impl Sync for SafeSetupValue
impl Unpin for SafeSetupValue
impl UnsafeUnpin for SafeSetupValue
impl UnwindSafe for SafeSetupValue
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