pub struct Value {
pub content: ValueContent,
pub comment: Option<String>,
}Expand description
One value on a field, plus its optional per-value comment
(knora-api:valueHasComment). The comment is free-text server-supplied
annotation; None when the value has no comment (the common case).
Fields§
§content: ValueContent§comment: Option<String>Trait Implementations§
Source§impl From<ValueContent> for Value
impl From<ValueContent> for Value
Source§fn from(content: ValueContent) -> Self
fn from(content: ValueContent) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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