pub struct LabelValue {
pub label: Option<String>,
pub localized_label: Option<LocalizedString>,
pub localized_value: Option<LocalizedString>,
pub value: Option<String>,
}Expand description
A pair of text strings to be displayed in the details view. Note we no longer display LabelValue/LabelValueRow as a table, instead a list of items.
This type is not used in any activity, and only used as part of another schema.
Fields§
§label: Option<String>The label for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
localized_label: Option<LocalizedString>Translated strings for the label. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
localized_value: Option<LocalizedString>Translated strings for the value. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
value: Option<String>The value for a specific row and column. Recommended maximum is 15 characters for a two-column layout and 30 characters for a one-column layout.
Trait Implementations§
Source§impl Clone for LabelValue
impl Clone for LabelValue
Source§fn clone(&self) -> LabelValue
fn clone(&self) -> LabelValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more