pub struct CreateValueRef {
pub id: Id,
pub entity: Id,
pub property: Id,
pub language: Option<Id>,
pub space: Option<Id>,
}Expand description
Creates a referenceable ID for a value slot (spec Section 3.4).
This enables relations to target specific values for provenance, confidence, attribution, or other qualifiers.
Fields§
§id: IdThe value ref’s unique identifier.
entity: IdThe entity holding the value.
property: IdThe property of the value.
language: Option<Id>The language (TEXT values only).
space: Option<Id>The space containing the value (default: current space).
Trait Implementations§
Source§impl Clone for CreateValueRef
impl Clone for CreateValueRef
Source§fn clone(&self) -> CreateValueRef
fn clone(&self) -> CreateValueRef
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 CreateValueRef
impl Debug for CreateValueRef
Source§impl PartialEq for CreateValueRef
impl PartialEq for CreateValueRef
impl Eq for CreateValueRef
impl StructuralPartialEq for CreateValueRef
Auto Trait Implementations§
impl Freeze for CreateValueRef
impl RefUnwindSafe for CreateValueRef
impl Send for CreateValueRef
impl Sync for CreateValueRef
impl Unpin for CreateValueRef
impl UnwindSafe for CreateValueRef
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