pub enum RemoteValue {
String(String),
Int(i64),
Float(f64),
Bool(bool),
Null,
}Expand description
JSON-shaped value type for fetched server records. Kept minimal
(no serde dep at the teksilo-core level); adapter crates may map
to their own richer types as needed.
Variants§
Trait Implementations§
Source§impl Clone for RemoteValue
impl Clone for RemoteValue
Source§fn clone(&self) -> RemoteValue
fn clone(&self) -> RemoteValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoteValue
impl Debug for RemoteValue
Source§impl PartialEq for RemoteValue
impl PartialEq for RemoteValue
Source§impl Serialize for RemoteValue
impl Serialize for RemoteValue
impl StructuralPartialEq for RemoteValue
Auto Trait Implementations§
impl Freeze for RemoteValue
impl RefUnwindSafe for RemoteValue
impl Send for RemoteValue
impl Sync for RemoteValue
impl Unpin for RemoteValue
impl UnsafeUnpin for RemoteValue
impl UnwindSafe for RemoteValue
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