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: String
The 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 ==
.