pub struct Intent {
pub id: NodeId,
pub source: String,
pub text: String,
pub created_at: DateTime<Utc>,
pub parent_ids: Vec<NodeId>,
pub schema_version: String,
}Fields§
§id: NodeId§source: StringTicket URL, prompt text, or file reference — what triggered this intent.
text: StringHuman-readable description of the intent.
created_at: DateTime<Utc>§parent_ids: Vec<NodeId>Empty for root intents; one prior Intent ID for amendments.
schema_version: StringSchema version. Stored in JSON but excluded from content hash (annotation).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Intent
impl<'de> Deserialize<'de> for Intent
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 Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnsafeUnpin for Intent
impl UnwindSafe for Intent
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