pub struct DelegateRequest {
pub agent: String,
pub prompt: String,
pub intent: Option<Intent>,
}Expand description
What the guest sends to circlet.delegate.
Fields§
§agent: StringThe agent to ask; must be in the grant’s agent allowlist.
prompt: StringThe prompt to hand over.
intent: Option<Intent>The mind to ask for — passed to the host verbatim; the host resolves
it. None leaves the choice entirely to the host.
Trait Implementations§
Source§impl Clone for DelegateRequest
impl Clone for DelegateRequest
Source§impl Debug for DelegateRequest
impl Debug for DelegateRequest
Source§impl<'de> Deserialize<'de> for DelegateRequest
impl<'de> Deserialize<'de> for DelegateRequest
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
Source§impl PartialEq for DelegateRequest
impl PartialEq for DelegateRequest
Source§impl Serialize for DelegateRequest
impl Serialize for DelegateRequest
impl StructuralPartialEq for DelegateRequest
Auto Trait Implementations§
impl Forget for DelegateRequest
impl Freeze for DelegateRequest
impl Move for DelegateRequest
impl RefUnwindSafe for DelegateRequest
impl Send for DelegateRequestwhere
RawVecInner: Send,
impl Sync for DelegateRequestwhere
RawVecInner: Sync,
impl Unpin for DelegateRequest
impl UnsafeUnpin for DelegateRequest
impl UnwindSafe for DelegateRequestwhere
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