pub enum Field {
}Expand description
Represents a typed field in a record.
Variants§
IStr(String)
Case sensitive string.
"alice" != "Alice"UStr
Case insensitive string.
"alice" == "Alice"Char(char)
Single character
F32(f32)
32 bit floating number
F64(f64)
64 bit floating number
I8(i8)
8 bit signed integer
I16(i16)
16 bit signed integer
I32(i32)
32 bit signed integer
I64(i64)
64 bit signed integer
U8(u8)
8 bit unsigned integer
U16(u16)
16 bit unsigned integer
U32(u32)
32 bit unsigned integer
U64(u64)
64 bit unsigned integer
Bool(bool)
Boolean value
Implementations§
Source§impl Field
impl Field
Sourcepub fn escape_str(quote: char, s: &str) -> String
pub fn escape_str(quote: char, s: &str) -> String
Escape a string according to the specified quotation symbol
Trait Implementations§
impl Eq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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