#[non_exhaustive]pub struct ResolvedEntry {
pub entry: usize,
pub key: String,
pub state: AssignmentState,
pub value: Option<String>,
pub effective_value: Option<String>,
pub segments: Vec<ResolvedSegment>,
}Expand description
One entry’s resolved value and provenance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entry: usizeSnapshot-local entry identity from the originating document.
key: StringLiteral key.
state: AssignmentStateOriginal assignment state.
value: Option<String>Resolved assigned value; None for a bare declaration.
effective_value: Option<String>Effective literal lookup value after participation and bare-key policy.
segments: Vec<ResolvedSegment>Ordered provenance segments; concatenation equals value.
Trait Implementations§
Source§impl Clone for ResolvedEntry
impl Clone for ResolvedEntry
Source§impl Debug for ResolvedEntry
impl Debug for ResolvedEntry
impl Eq for ResolvedEntry
Source§impl PartialEq for ResolvedEntry
impl PartialEq for ResolvedEntry
impl StructuralPartialEq for ResolvedEntry
Auto Trait Implementations§
impl Freeze for ResolvedEntry
impl RefUnwindSafe for ResolvedEntry
impl Send for ResolvedEntry
impl Sync for ResolvedEntry
impl Unpin for ResolvedEntry
impl UnsafeUnpin for ResolvedEntry
impl UnwindSafe for ResolvedEntry
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