pub struct VssJsonCollectionWrapper {
pub vss_json_collection_wrapper_base: VssJsonCollectionWrapperBase,
pub value: Option<String>,
}Expand description
This class is used to serialized collections as a single JSON object on the wire, to avoid serializing JSON arrays directly to the client, which can be a security hole
Fields§
§vss_json_collection_wrapper_base: VssJsonCollectionWrapperBase§value: Option<String>Implementations§
Trait Implementations§
source§impl Clone for VssJsonCollectionWrapper
impl Clone for VssJsonCollectionWrapper
source§fn clone(&self) -> VssJsonCollectionWrapper
fn clone(&self) -> VssJsonCollectionWrapper
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 VssJsonCollectionWrapper
impl Debug for VssJsonCollectionWrapper
source§impl Default for VssJsonCollectionWrapper
impl Default for VssJsonCollectionWrapper
source§fn default() -> VssJsonCollectionWrapper
fn default() -> VssJsonCollectionWrapper
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VssJsonCollectionWrapper
impl<'de> Deserialize<'de> for VssJsonCollectionWrapper
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
source§impl PartialEq<VssJsonCollectionWrapper> for VssJsonCollectionWrapper
impl PartialEq<VssJsonCollectionWrapper> for VssJsonCollectionWrapper
source§fn eq(&self, other: &VssJsonCollectionWrapper) -> bool
fn eq(&self, other: &VssJsonCollectionWrapper) -> bool
This method tests for
self and other values to be equal, and is used
by ==.