pub struct JsonApi {
pub meta: Map,
pub version: Version,
/* private fields */
}
Expand description
Information about this implementation of the specification.
For more information, check out the JSON API object section of the JSON API specification.
Fields§
§meta: Map
Non-standard meta information. If this value of this field is empty, it will not be included if the object is serialized. For more information, check out the meta information section of the JSON API specification.
version: Version
The latest version of the JSON API specification that is supported by this implementation. Defaults to the latest available version.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonApi
impl<'de> Deserialize<'de> for JsonApi
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
impl StructuralPartialEq for JsonApi
Auto Trait Implementations§
impl Freeze for JsonApi
impl RefUnwindSafe for JsonApi
impl Send for JsonApi
impl Sync for JsonApi
impl Unpin for JsonApi
impl UnwindSafe for JsonApi
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