Struct jsonapi_rs::api::JsonApiInfo
source · pub struct JsonApiInfo {
pub version: Option<String>,
pub meta: Option<Meta>,
}
Expand description
Optional JsonApiDocument
payload identifying the JSON-API version the
server implements
Fields§
§version: Option<String>
§meta: Option<Meta>
Trait Implementations§
source§impl Clone for JsonApiInfo
impl Clone for JsonApiInfo
source§fn clone(&self) -> JsonApiInfo
fn clone(&self) -> JsonApiInfo
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 JsonApiInfo
impl Debug for JsonApiInfo
source§impl<'de> Deserialize<'de> for JsonApiInfo
impl<'de> Deserialize<'de> for JsonApiInfo
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 for JsonApiInfo
impl PartialEq for JsonApiInfo
source§fn eq(&self, other: &JsonApiInfo) -> bool
fn eq(&self, other: &JsonApiInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JsonApiInfo
impl Serialize for JsonApiInfo
impl StructuralPartialEq for JsonApiInfo
Auto Trait Implementations§
impl RefUnwindSafe for JsonApiInfo
impl Send for JsonApiInfo
impl Sync for JsonApiInfo
impl Unpin for JsonApiInfo
impl UnwindSafe for JsonApiInfo
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