pub struct CategoryResource {
pub type: String,
pub id: String,
pub attributes: Attributes,
pub relationships: Relationships,
pub links: Option<CategoryResourceLinks>,
}
Fields§
§type: String
The type of this resource: categories
id: String
The unique identifier for this category. This is a human-readable but URL-safe value.
attributes: Attributes
§relationships: Relationships
§links: Option<CategoryResourceLinks>
Trait Implementations§
Source§impl Debug for CategoryResource
impl Debug for CategoryResource
Source§impl<'de> Deserialize<'de> for CategoryResource
impl<'de> Deserialize<'de> for CategoryResource
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
Auto Trait Implementations§
impl Freeze for CategoryResource
impl RefUnwindSafe for CategoryResource
impl Send for CategoryResource
impl Sync for CategoryResource
impl Unpin for CategoryResource
impl UnwindSafe for CategoryResource
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