pub struct TextValueSpecification {
pub label: Option<String>,
pub value: String,
}
Expand description
textual value
Fields§
§label: Option<String>
SHORT-LABEL: used to identify the text in a human readable way. This is used when the text is part of a record.
value: String
the text value
Trait Implementations§
Source§impl Clone for TextValueSpecification
impl Clone for TextValueSpecification
Source§fn clone(&self) -> TextValueSpecification
fn clone(&self) -> TextValueSpecification
Returns a duplicate 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 TextValueSpecification
impl Debug for TextValueSpecification
Source§impl From<TextValueSpecification> for ValueSpecification
impl From<TextValueSpecification> for ValueSpecification
Source§fn from(value_spec: TextValueSpecification) -> Self
fn from(value_spec: TextValueSpecification) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TextValueSpecification
impl PartialEq for TextValueSpecification
impl StructuralPartialEq for TextValueSpecification
Auto Trait Implementations§
impl Freeze for TextValueSpecification
impl RefUnwindSafe for TextValueSpecification
impl Send for TextValueSpecification
impl Sync for TextValueSpecification
impl Unpin for TextValueSpecification
impl UnwindSafe for TextValueSpecification
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