pub struct VariableKey(/* private fields */);
Expand description
Key of a variable
Can only contain letters, numbers, and ‘_’.
TODO: validate this ^
Trait Implementations§
Source§impl Debug for VariableKey
impl Debug for VariableKey
Source§impl<'de> Deserialize<'de> for VariableKey
impl<'de> Deserialize<'de> for VariableKey
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 From<VariableKey> for String
impl From<VariableKey> for String
Source§fn from(key: VariableKey) -> Self
fn from(key: VariableKey) -> Self
Converts to this type from the input type.
Source§impl Hash for VariableKey
impl Hash for VariableKey
Source§impl Ord for VariableKey
impl Ord for VariableKey
Source§fn cmp(&self, other: &VariableKey) -> Ordering
fn cmp(&self, other: &VariableKey) -> 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 VariableKey
impl PartialEq for VariableKey
Source§impl PartialOrd for VariableKey
impl PartialOrd for VariableKey
Source§impl Serialize for VariableKey
impl Serialize for VariableKey
impl Eq for VariableKey
impl StructuralPartialEq for VariableKey
Auto Trait Implementations§
impl Freeze for VariableKey
impl RefUnwindSafe for VariableKey
impl Send for VariableKey
impl Sync for VariableKey
impl Unpin for VariableKey
impl UnwindSafe for VariableKey
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
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type