Struct openconfiguration::Property
source · pub struct Property {
pub property_id: String,
pub property_text: HashMap<String, String>,
pub value_id: Option<String>,
pub value_text: Option<HashMap<String, String>>,
pub position: i32,
pub values: Option<Vec<Value>>,
}Fields
property_id: StringThe unique id of the property.
property_text: HashMap<String, String>Localized property text. Key is ISO 639-1 language code.
value_id: Option<String>The optional id of the property’s current value.
value_text: Option<HashMap<String, String>>The localized text of the value. Needed if valueId cannot be resolved in Values.
position: i32The position of the property in the product’s property editor.
values: Option<Vec<Value>>The values of the property.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
sourcefn 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
impl StructuralPartialEq for Property
Auto Trait Implementations
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more