Enum plausible_rs::PropValue
source · pub enum PropValue {
}
Expand description
Custom properties only accepts scalar values such as strings, numbers and booleans. Data structures such as objects, arrays etc. aren’t accepted.
Variants§
String(String)
Bool(bool)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
U128(u128)
Usize(usize)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
I128(i128)
Isize(isize)
F32(f32)
F64(f64)
Trait Implementations§
source§impl<'de> Deserialize<'de> for PropValue
impl<'de> Deserialize<'de> for PropValue
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
Auto Trait Implementations§
impl RefUnwindSafe for PropValue
impl Send for PropValue
impl Sync for PropValue
impl Unpin for PropValue
impl UnwindSafe for PropValue
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