Struct serde_v8::Value [−][src]
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”
Fields
v8_value: Local<'s, Value>
Trait Implementations
impl<'de, 's> Deserialize<'de> for Value<'s>
[src]
impl<'de, 's> Deserialize<'de> for Value<'s>
[src]fn deserialize<D>(deserializer: D) -> Result<Value<'s>, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Value<'s>, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<'s> RefUnwindSafe for Value<'s>
impl<'s> !Send for Value<'s>
impl<'s> !Sync for Value<'s>
impl<'s> Unpin for Value<'s>
impl<'s> UnwindSafe for Value<'s>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,