pub struct Value<'s> {
pub v8_value: Local<'s, Value>,
}
Expand description
serde_v8::Value allows passing through v8::Value
s untouched
when encoding/decoding and allows mixing rust & v8 values in
structs, tuples…
The implementation mainly breaks down to:
- Transmuting between u64 <> serde_v8::Value
- Using special struct/field names to detect these values
- Then serde “boilerplate”
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.