Struct serialize_to_javascript::Serialized
source · pub struct Serialized(/* private fields */);
Expand description
Serialized JavaScript output.
Implementations§
source§impl Serialized
impl Serialized
sourcepub fn new(json: &RawValue, options: &Options) -> Self
pub fn new(json: &RawValue, options: &Options) -> Self
Create a new Serialized
from the inputs.
sourcepub fn into_string(self) -> String
pub fn into_string(self) -> String
Get the inner String
out.
Trait Implementations§
source§impl Clone for Serialized
impl Clone for Serialized
source§fn clone(&self) -> Serialized
fn clone(&self) -> Serialized
Returns a copy 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 Serialized
impl Debug for Serialized
Auto Trait Implementations§
impl Freeze for Serialized
impl RefUnwindSafe for Serialized
impl Send for Serialized
impl Sync for Serialized
impl Unpin for Serialized
impl UnwindSafe for Serialized
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)