pub struct LedgerEntry {Show 14 fields
pub entry_id: String,
pub symbol_id: String,
pub kind: LedgerKind,
pub summary: String,
pub body: Option<String>,
pub author: Author,
pub confidence: Option<f64>,
pub evidence: Vec<Evidence>,
pub supersedes: Vec<String>,
pub created_at: DateTime<Utc>,
pub tags: Vec<String>,
pub matched_policy: Option<String>,
pub role: Option<String>,
pub command: Option<String>,
}Fields§
§entry_id: String§symbol_id: String§kind: LedgerKind§summary: String§body: Option<String>§confidence: Option<f64>§evidence: Vec<Evidence>§supersedes: Vec<String>§created_at: DateTime<Utc>§matched_policy: Option<String>§role: Option<String>Plan B t-002: role/intent tag for classification entries (e.g. “diagnostic-test”, “fast-test”, “fixture-path”, “stale-api”). Optional; only meaningful for kind=Ownership/Concept (the classification family). Skipped from JSON when None.
command: Option<String>Plan B t-002: canonical reproduction or validation command for recipe-style entries (e.g. “swift test –filter SongPlayersTests”). Optional; only meaningful for kind=ValidationScenario/Proof or kind=FollowUp (where it is the command that closes the follow-up).
Implementations§
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§impl Debug for LedgerEntry
impl Debug for LedgerEntry
Source§impl<'de> Deserialize<'de> for LedgerEntry
impl<'de> Deserialize<'de> for LedgerEntry
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
Auto Trait Implementations§
impl Freeze for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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