pub struct DelegationRequest {
pub capsule: String,
pub version: String,
pub task: String,
}Expand description
The three strings an agent supplies for one delegation, and the whole of what it supplies.
Fields§
§capsule: StringThe sub-capsule’s name, as it appears in the parent’s capabilities.spawn.allow.
version: StringAn exact version. There is no latest: murmur_artifact::RESERVED_VERSIONS exists to
refuse that word, so the caller states which artifact it means.
task: StringThe task text, delivered to the child as the whole of its first user message.
Trait Implementations§
Source§impl Clone for DelegationRequest
impl Clone for DelegationRequest
Auto Trait Implementations§
impl Forget for DelegationRequest
impl Freeze for DelegationRequest
impl Move for DelegationRequest
impl RefUnwindSafe for DelegationRequest
impl Send for DelegationRequest
impl Sync for DelegationRequest
impl Unpin for DelegationRequest
impl UnsafeUnpin for DelegationRequest
impl UnwindSafe for DelegationRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more