pub struct SerdeSerializer;Expand description
Default JSON serializer backed by serde_json.
This is the standard serializer for pure-Rust usage. It works with
any type implementing Serialize/Deserialize.
Trait Implementations§
Source§impl Clone for SerdeSerializer
impl Clone for SerdeSerializer
Source§fn clone(&self) -> SerdeSerializer
fn clone(&self) -> SerdeSerializer
Returns a duplicate 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 SerdeSerializer
impl Debug for SerdeSerializer
Source§impl Default for SerdeSerializer
impl Default for SerdeSerializer
Source§fn default() -> SerdeSerializer
fn default() -> SerdeSerializer
Returns the “default value” for a type. Read more
Source§impl Serializer for SerdeSerializer
impl Serializer for SerdeSerializer
Source§fn serialize<T: Serialize>(&self, value: &T) -> RustvelloResult<String>
fn serialize<T: Serialize>(&self, value: &T) -> RustvelloResult<String>
Serialize a value to its string representation.
Source§fn deserialize<T: DeserializeOwned>(&self, data: &str) -> RustvelloResult<T>
fn deserialize<T: DeserializeOwned>(&self, data: &str) -> RustvelloResult<T>
Deserialize a string into the target type.
impl Copy for SerdeSerializer
Auto Trait Implementations§
impl Freeze for SerdeSerializer
impl RefUnwindSafe for SerdeSerializer
impl Send for SerdeSerializer
impl Sync for SerdeSerializer
impl Unpin for SerdeSerializer
impl UnsafeUnpin for SerdeSerializer
impl UnwindSafe for SerdeSerializer
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