pub struct SpecWritingSession {
pub id: String,
pub spec_id: String,
pub phase: SpecPhase,
pub conversation_history: Vec<ConversationMessage>,
pub approval_gates: Vec<ApprovalGate>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A spec writing session with conversation history and approval gates
Fields§
§id: StringSession identifier
spec_id: StringSpec being written
phase: SpecPhaseCurrent phase of the session
conversation_history: Vec<ConversationMessage>Conversation history
approval_gates: Vec<ApprovalGate>Approval gates for each phase
created_at: DateTime<Utc>When the session was created
updated_at: DateTime<Utc>When the session was last updated
Trait Implementations§
Source§impl Clone for SpecWritingSession
impl Clone for SpecWritingSession
Source§fn clone(&self) -> SpecWritingSession
fn clone(&self) -> SpecWritingSession
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpecWritingSession
impl Debug for SpecWritingSession
Source§impl<'de> Deserialize<'de> for SpecWritingSession
impl<'de> Deserialize<'de> for SpecWritingSession
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 SpecWritingSession
impl RefUnwindSafe for SpecWritingSession
impl Send for SpecWritingSession
impl Sync for SpecWritingSession
impl Unpin for SpecWritingSession
impl UnwindSafe for SpecWritingSession
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