pub struct MandateMutationReservation {
pub grant: MandateAuthorityGrant,
pub goal_run_id: String,
pub root_task_id: String,
pub root_task_attempt_id: String,
pub task_id: String,
pub task_attempt_id: String,
pub tool_call_id: String,
pub tool_name: String,
pub mutation_effects: Vec<String>,
pub targets: Vec<MandateMutationTarget>,
pub account_identifiers: Vec<String>,
pub reserved_at: String,
}Expand description
Rust-only request to reserve one exact governed mutation. All authority fields derive from a grant already issued by the deterministic policy gate.
Fields§
§grant: MandateAuthorityGrant§goal_run_id: String§root_task_id: String§root_task_attempt_id: String§task_id: String§task_attempt_id: String§tool_call_id: String§tool_name: String§mutation_effects: Vec<String>§targets: Vec<MandateMutationTarget>§account_identifiers: Vec<String>§reserved_at: StringCaller-supplied clock solely for deterministic state tests. Production
callers always use Utc::now() and the store validates RFC3339.
Trait Implementations§
Source§impl Clone for MandateMutationReservation
impl Clone for MandateMutationReservation
Source§impl Debug for MandateMutationReservation
impl Debug for MandateMutationReservation
Source§impl<'de> Deserialize<'de> for MandateMutationReservation
impl<'de> Deserialize<'de> for MandateMutationReservation
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 MandateMutationReservation
impl StructuralPartialEq for MandateMutationReservation
Auto Trait Implementations§
impl Forget for MandateMutationReservation
impl Freeze for MandateMutationReservationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<MandateMutationTarget>: Freeze,
impl Move for MandateMutationReservation
impl RefUnwindSafe for MandateMutationReservation
impl Send for MandateMutationReservationwhere
RawVecInner: Send,
impl Sync for MandateMutationReservationwhere
RawVecInner: Sync,
impl Unpin for MandateMutationReservation
impl UnsafeUnpin for MandateMutationReservationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<MandateMutationTarget>: UnsafeUnpin,
impl UnwindSafe for MandateMutationReservationwhere
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
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§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§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