pub enum CompiledValue {
Str(Arc<str>),
Bytes(Bytes),
Int(i64),
Bool(bool),
Addr(IpAddr),
}Variants§
Trait Implementations§
Source§impl Clone for CompiledValue
impl Clone for CompiledValue
Source§fn clone(&self) -> CompiledValue
fn clone(&self) -> CompiledValue
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 CompiledValue
impl Debug for CompiledValue
Source§impl<'de> Deserialize<'de> for CompiledValue
impl<'de> Deserialize<'de> for CompiledValue
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CompiledValue
impl Hash for CompiledValue
Source§impl PartialEq for CompiledValue
impl PartialEq for CompiledValue
Source§impl Serialize for CompiledValue
impl Serialize for CompiledValue
impl Eq for CompiledValue
Auto Trait Implementations§
impl !Freeze for CompiledValue
impl RefUnwindSafe for CompiledValue
impl Send for CompiledValue
impl Sync for CompiledValue
impl Unpin for CompiledValue
impl UnsafeUnpin for CompiledValue
impl UnwindSafe for CompiledValue
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