pub struct MasterItem {
pub id: Option<i32>,
pub code: Option<String>,
pub name: String,
}Expand description
Generic item used in master data catalogs
Fields§
§id: Option<i32>Numeric identifier
code: Option<String>Alphanumeric identifier
name: StringName
Trait Implementations§
Source§impl Clone for MasterItem
impl Clone for MasterItem
Source§fn clone(&self) -> MasterItem
fn clone(&self) -> MasterItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MasterItem
impl Debug for MasterItem
Source§impl<'de> Deserialize<'de> for MasterItem
impl<'de> Deserialize<'de> for MasterItem
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 MasterItem
impl RefUnwindSafe for MasterItem
impl Send for MasterItem
impl Sync for MasterItem
impl Unpin for MasterItem
impl UnsafeUnpin for MasterItem
impl UnwindSafe for MasterItem
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