pub enum PassableValue {
List(Vec<PassableValue>),
PMap(HashMap<String, PassableValue>),
Function(String, Option<Box<PassableValue>>),
Int(i64),
UInt(u64),
Float(f64),
String(String),
Bytes(Vec<u8>),
Bool(bool),
Timestamp(i64),
Null,
}Variants§
List(Vec<PassableValue>)
PMap(HashMap<String, PassableValue>)
Function(String, Option<Box<PassableValue>>)
Int(i64)
UInt(u64)
Float(f64)
String(String)
Bytes(Vec<u8>)
Bool(bool)
Timestamp(i64)
Null
Implementations§
Trait Implementations§
Source§impl Clone for PassableValue
impl Clone for PassableValue
Source§fn clone(&self) -> PassableValue
fn clone(&self) -> PassableValue
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 PassableValue
impl Debug for PassableValue
Source§impl<'de> Deserialize<'de> for PassableValue
impl<'de> Deserialize<'de> for PassableValue
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 PassableValue
impl PartialEq for PassableValue
Auto Trait Implementations§
impl Freeze for PassableValue
impl RefUnwindSafe for PassableValue
impl Send for PassableValue
impl Sync for PassableValue
impl Unpin for PassableValue
impl UnwindSafe for PassableValue
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