pub enum TapeValueOwned {
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
RawNumber(String),
Json(String),
}Expand description
Owned tape value for patch operations
Variants§
Null
Null value
Bool(bool)
Boolean value
Int(i64)
64-bit integer
Float(f64)
64-bit float
String(String)
String value
RawNumber(String)
Raw number string (preserves precision)
Json(String)
Serialized JSON for complex values
Trait Implementations§
Source§impl Clone for TapeValueOwned
impl Clone for TapeValueOwned
Source§fn clone(&self) -> TapeValueOwned
fn clone(&self) -> TapeValueOwned
Returns a duplicate 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 TapeValueOwned
impl Debug for TapeValueOwned
Source§impl<'a> From<TapeValue<'a>> for TapeValueOwned
impl<'a> From<TapeValue<'a>> for TapeValueOwned
Source§impl PartialEq for TapeValueOwned
impl PartialEq for TapeValueOwned
impl StructuralPartialEq for TapeValueOwned
Auto Trait Implementations§
impl Freeze for TapeValueOwned
impl RefUnwindSafe for TapeValueOwned
impl Send for TapeValueOwned
impl Sync for TapeValueOwned
impl Unpin for TapeValueOwned
impl UnwindSafe for TapeValueOwned
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