Struct openconfiguration::MasterData
source · pub struct MasterData {
pub product_id: Option<String>,
pub native_id: String,
pub description: Option<String>,
}Expand description
Basic master data, used OC master-data scenarios.
Fields§
§product_id: Option<String>The commercial product Id. ASCII. 45 chars max.
native_id: StringThe instance id of an associated master product, e.g. a set.
description: Option<String>Informal description. UTF-8. 100 chars max.
Trait Implementations§
source§impl Clone for MasterData
impl Clone for MasterData
source§fn clone(&self) -> MasterData
fn clone(&self) -> MasterData
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 MasterData
impl Debug for MasterData
source§impl<'de> Deserialize<'de> for MasterData
impl<'de> Deserialize<'de> for MasterData
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<MasterData> for MasterData
impl PartialEq<MasterData> for MasterData
source§fn eq(&self, other: &MasterData) -> bool
fn eq(&self, other: &MasterData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MasterData
impl Serialize for MasterData
impl StructuralPartialEq for MasterData
Auto Trait Implementations§
impl RefUnwindSafe for MasterData
impl Send for MasterData
impl Sync for MasterData
impl Unpin for MasterData
impl UnwindSafe for MasterData
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