pub struct Item {
pub name: String,
pub item_id: u32,
pub category: Option<String>,
pub cost_cents: u32,
pub deleted: bool,
}Fields§
§name: String§item_id: u32§category: Option<String>§cost_cents: u32§deleted: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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 SearchableElement for Item
impl SearchableElement for Item
Source§impl TypeScriptifyTrait for Item
impl TypeScriptifyTrait for Item
fn type_script_ify() -> String
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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