pub struct FragmentEntry {
pub id: String,
pub kind: FragmentKind,
pub document: SourcePath,
pub symbol: SymbolId,
pub span: Span,
pub sig_hash: Fingerprint,
pub body_hash: Fingerprint,
pub participants: Vec<SymbolId>,
pub calls: Vec<CallRef>,
pub truncated: usize,
pub hash: ContentHash,
}Expand description
One diagram inside a document.
Fields§
§id: StringFragment id: the symbol id for sequences, structure:<file> for
structure diagrams. Unique across the corpus.
kind: FragmentKindDiagram kind.
document: SourcePathDocument holding it.
symbol: SymbolIdSymbol the fragment describes (callable or module).
span: SpanSource span of that symbol.
sig_hash: FingerprintThe symbol’s contract fingerprint (see sealmap_model::Symbol).
body_hash: FingerprintThe symbol’s implementation fingerprint.
participants: Vec<SymbolId>Mermaid ids of participants / classes, in diagram order.
calls: Vec<CallRef>Calls, in source order (sequence fragments only).
truncated: usizeMessages elided by max_messages (0 when complete).
hash: ContentHashHash of the fragment’s Mermaid text, for caching merged results.
Trait Implementations§
Source§impl Clone for FragmentEntry
impl Clone for FragmentEntry
Source§impl Debug for FragmentEntry
impl Debug for FragmentEntry
Source§impl<'de> Deserialize<'de> for FragmentEntry
impl<'de> Deserialize<'de> for FragmentEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FragmentEntry
Source§impl PartialEq for FragmentEntry
impl PartialEq for FragmentEntry
Source§impl Serialize for FragmentEntry
impl Serialize for FragmentEntry
impl StructuralPartialEq for FragmentEntry
Auto Trait Implementations§
impl Freeze for FragmentEntry
impl RefUnwindSafe for FragmentEntry
impl Send for FragmentEntry
impl Sync for FragmentEntry
impl Unpin for FragmentEntry
impl UnsafeUnpin for FragmentEntry
impl UnwindSafe for FragmentEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.