pub struct SkillSessionState {
pub schema_version: u16,
pub session_id: SessionId,
pub active_versions: BTreeMap<String, String>,
pub effective_profile: Option<SkillProfile>,
pub last_checkpoint_id: Option<CheckpointId>,
pub verified_checkpoint: Option<SkillCheckpointProof>,
pub reserved_tactic: Option<SkillTactic>,
pub pending_issuance: Option<SkillIssuedDecision>,
pub attempted_tactics: Vec<SkillTactic>,
pub evidence: Vec<SkillEvidenceRef>,
pub deadline: DateTime<Utc>,
}Fields§
§schema_version: u16§session_id: SessionId§active_versions: BTreeMap<String, String>§effective_profile: Option<SkillProfile>§last_checkpoint_id: Option<CheckpointId>§verified_checkpoint: Option<SkillCheckpointProof>§reserved_tactic: Option<SkillTactic>§pending_issuance: Option<SkillIssuedDecision>§attempted_tactics: Vec<SkillTactic>§evidence: Vec<SkillEvidenceRef>§deadline: DateTime<Utc>Implementations§
Source§impl SkillSessionState
impl SkillSessionState
pub const SCHEMA_VERSION: u16 = SKILL_SCHEMA_VERSION
pub fn new( session_id: SessionId, active_versions: BTreeMap<String, String>, effective_profile: Option<SkillProfile>, last_checkpoint_id: Option<CheckpointId>, verified_checkpoint: Option<SkillCheckpointProof>, reserved_tactic: Option<SkillTactic>, pending_issuance: Option<SkillIssuedDecision>, attempted_tactics: Vec<SkillTactic>, evidence: Vec<SkillEvidenceRef>, deadline: DateTime<Utc>, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for SkillSessionState
impl Clone for SkillSessionState
Source§impl Debug for SkillSessionState
impl Debug for SkillSessionState
Source§impl<'de> Deserialize<'de> for SkillSessionState
impl<'de> Deserialize<'de> for SkillSessionState
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 SkillSessionState
Source§impl PartialEq for SkillSessionState
impl PartialEq for SkillSessionState
Source§impl Serialize for SkillSessionState
impl Serialize for SkillSessionState
impl StructuralPartialEq for SkillSessionState
Auto Trait Implementations§
impl Freeze for SkillSessionState
impl RefUnwindSafe for SkillSessionState
impl Send for SkillSessionState
impl Sync for SkillSessionState
impl Unpin for SkillSessionState
impl UnsafeUnpin for SkillSessionState
impl UnwindSafe for SkillSessionState
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