pub enum MiniAction {
Submit {
agent_id: AgentId,
prompt: String,
},
Cancel {
agent_id: AgentId,
submitted_request_id: RequestId,
run_id: RunId,
},
Close {
agent_id: AgentId,
},
}Variants§
Submit
Cancel
Close
Mini identity cannot be reloaded in an epoch. Close never means restore, force-abort, or permission to close a Persistent owner.
Implementations§
Trait Implementations§
Source§impl Clone for MiniAction
impl Clone for MiniAction
Source§impl Debug for MiniAction
impl Debug for MiniAction
Source§impl<'de> Deserialize<'de> for MiniAction
impl<'de> Deserialize<'de> for MiniAction
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 MiniAction
Source§impl PartialEq for MiniAction
impl PartialEq for MiniAction
Source§impl Serialize for MiniAction
impl Serialize for MiniAction
impl StructuralPartialEq for MiniAction
Auto Trait Implementations§
impl Forget for MiniAction
impl Freeze for MiniAction
impl Move for MiniAction
impl RefUnwindSafe for MiniAction
impl Send for MiniActionwhere
RawVecInner: Send,
impl Sync for MiniActionwhere
RawVecInner: Sync,
impl Unpin for MiniAction
impl UnsafeUnpin for MiniAction
impl UnwindSafe for MiniActionwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.