pub struct Citation {
pub label: String,
pub frame: FrameId,
pub provenance: Vec<Provenance>,
}Expand description
One entry of a composed prompt’s citation map: the human label rendered in a frame’s fence, resolved to the frame’s stable identity and merged provenance — so a model’s citation-by-label walks back to exactly which bytes, from which source, it quoted.
Fields§
§label: StringThe label rendered in the cite="…" attribute of the frame’s fence.
frame: FrameIdThe frame’s stable identity.
provenance: Vec<Provenance>The frame’s (post-dedup, merged) provenance chain.
Trait Implementations§
impl StructuralPartialEq for Citation
Auto Trait Implementations§
impl Freeze for Citation
impl RefUnwindSafe for Citation
impl Send for Citation
impl Sync for Citation
impl Unpin for Citation
impl UnsafeUnpin for Citation
impl UnwindSafe for Citation
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