Struct openconfiguration::ProductState
source · pub struct ProductState {
pub com_id: Option<String>,
pub gfx_id: Option<String>,
pub geometric_hash: Option<String>,
pub visual_hash: Option<String>,
}
Expand description
State information of a product.
IGXC Compatibility: The PBR hash has been removed for now.
Fields§
§com_id: Option<String>
Optional commercial instance id. Will be sent from client to server (and retour) to identify the object in the configurator/basket.
Note. comId should match to Commercial.Id if Commercial exists.
gfx_id: Option<String>
Optional graphical instance it. Will typically be sent from client (where this id is created and managed) to the server and returned from it, for clear assignment of product representation.
geometric_hash: Option<String>
The geometric hash may be created from a configurator service. It will be sent to the client, which may return it during upcoming update requests. The service may then detect a non-geometric update of the product representation and send a corresponding update.
visual_hash: Option<String>
The visual hash may be created from a configurator service. It will be sent to the client, which may return it during upcoming update requests. The service may then detect a non-visual update of the product representation and send a corresponding update.
Trait Implementations§
source§impl Clone for ProductState
impl Clone for ProductState
source§fn clone(&self) -> ProductState
fn clone(&self) -> ProductState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProductState
impl Debug for ProductState
source§impl<'de> Deserialize<'de> for ProductState
impl<'de> Deserialize<'de> for ProductState
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>,
source§impl PartialEq<ProductState> for ProductState
impl PartialEq<ProductState> for ProductState
source§fn eq(&self, other: &ProductState) -> bool
fn eq(&self, other: &ProductState) -> bool
self
and other
values to be equal, and is used
by ==
.