pub struct Value<'s> {
pub v8_value: Local<'s, Value>,
}
Expand description
serde_v8::Value allows passing through v8::Value
s untouched
when de/serializing & allows mixing rust & v8 values in structs, tuples…
Fields§
§v8_value: Local<'s, Value>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Value<'_>
impl<'de> Deserialize<'de> for Value<'_>
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
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§
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