[−][src]Enum restq::data_value::DataValue
strict data value where each has exact byte definitions, etc.
Variants
Bool(bool)
S8(u8)
S16(u16)
S32(u32)
S64(u64)
F32(f32)
F64(f64)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
Uuid(Uuid)
UuidRand(Uuid)
UuidSlug(String)
Text(String)
Ident(String)
Url(Url)
Implementations
impl DataValue
[src]
pub fn get_data_type(&self) -> Option<DataType>
[src]
Trait Implementations
impl Clone for DataValue
[src]
impl Debug for DataValue
[src]
impl<'a> Into<&'a str> for &'a DataValue
[src]
impl<'_> Into<Expr> for &'_ DataValue
[src]
impl Into<String> for DataValue
[src]
impl<'_> Into<Value> for &'_ DataValue
[src]
impl Into<f32> for DataValue
[src]
impl Into<u32> for DataValue
[src]
impl Into<u64> for DataValue
[src]
impl PartialEq<DataValue> for DataValue
[src]
impl StructuralPartialEq for DataValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataValue
impl Send for DataValue
impl Sync for DataValue
impl Unpin for DataValue
impl UnwindSafe for DataValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,