pub enum Value<'a> {
Null,
I32(i32),
I64(i64),
F32(f32),
F64(f64),
Text(Cow<'a, str>),
Bytes(Vec<u8>),
IpAddr(IpAddr),
Time(SystemTime),
}
Expand description
Values that can be bound as static placeholders.
Variants§
Null
I32(i32)
I64(i64)
F32(f32)
F64(f64)
Text(Cow<'a, str>)
Bytes(Vec<u8>)
IpAddr(IpAddr)
Time(SystemTime)
Trait Implementations§
impl<'a> StructuralPartialEq for Value<'a>
Auto Trait Implementations§
impl<'a> Freeze for Value<'a>
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> Send for Value<'a>
impl<'a> Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnwindSafe for Value<'a>
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