pub struct Intent {
pub id: String,
pub title: String,
pub agent: String,
pub scope: Vec<String>,
pub priority: IntentPriority,
pub status: IntentStatus,
pub parent: Option<String>,
pub commits: Vec<String>,
pub children: Vec<String>,
pub ucan_proof: Option<String>,
pub created: String,
pub updated: String,
}Expand description
A declared unit of work with scope, agent, and hierarchy
Fields§
§id: String§title: String§agent: String§scope: Vec<String>§priority: IntentPriority§status: IntentStatus§parent: Option<String>§commits: Vec<String>§children: Vec<String>§ucan_proof: Option<String>§created: String§updated: StringTrait 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