#[non_exhaustive]pub struct ItemAttribute {
pub id: i32,
pub name: String,
pub items: Vec<NamedAPIResource<Item>>,
pub names: Vec<Name>,
pub descriptions: Vec<Description>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: i32
§name: String
§items: Vec<NamedAPIResource<Item>>
§names: Vec<Name>
§descriptions: Vec<Description>
Trait Implementations§
Source§impl Clone for ItemAttribute
impl Clone for ItemAttribute
Source§fn clone(&self) -> ItemAttribute
fn clone(&self) -> ItemAttribute
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 ItemAttribute
impl Debug for ItemAttribute
Source§impl<'de> Deserialize<'de> for ItemAttribute
impl<'de> Deserialize<'de> for ItemAttribute
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 Hash for ItemAttribute
impl Hash for ItemAttribute
Source§impl PartialEq for ItemAttribute
impl PartialEq for ItemAttribute
Source§impl Serialize for ItemAttribute
impl Serialize for ItemAttribute
impl Eq for ItemAttribute
impl StructuralPartialEq for ItemAttribute
Auto Trait Implementations§
impl Freeze for ItemAttribute
impl RefUnwindSafe for ItemAttribute
impl !Send for ItemAttribute
impl !Sync for ItemAttribute
impl Unpin for ItemAttribute
impl UnwindSafe for ItemAttribute
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