pub struct GovernedResponsePlanIntentBody {
pub plan_schema: String,
pub plan_id: String,
pub operator_capability_id: String,
pub operator_capability_hash: String,
pub operator_capability_expires_at: u64,
pub executor_subject: PublicKey,
pub canonical_plan_body: Value,
pub plan_body_hash: String,
pub target_binding: Value,
pub ordered_effects: Vec<GovernedResponseEffect>,
pub expires_at: u64,
pub rollback_binding: Value,
}Expand description
Protocol-owned binding for a governed active-response plan.
Fields§
§plan_schema: String§plan_id: String§operator_capability_id: String§operator_capability_hash: String§operator_capability_expires_at: u64§executor_subject: PublicKey§canonical_plan_body: Value§plan_body_hash: String§target_binding: Value§ordered_effects: Vec<GovernedResponseEffect>§expires_at: u64§rollback_binding: ValueImplementations§
Trait Implementations§
Source§impl Clone for GovernedResponsePlanIntentBody
impl Clone for GovernedResponsePlanIntentBody
Source§fn clone(&self) -> GovernedResponsePlanIntentBody
fn clone(&self) -> GovernedResponsePlanIntentBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GovernedResponsePlanIntentBody
impl<'de> Deserialize<'de> for GovernedResponsePlanIntentBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedResponsePlanIntentBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedResponsePlanIntentBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GovernedResponsePlanIntentBody
Source§impl Serialize for GovernedResponsePlanIntentBody
impl Serialize for GovernedResponsePlanIntentBody
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GovernedResponsePlanIntentBody
Auto Trait Implementations§
impl Freeze for GovernedResponsePlanIntentBody
impl RefUnwindSafe for GovernedResponsePlanIntentBody
impl Send for GovernedResponsePlanIntentBody
impl Sync for GovernedResponsePlanIntentBody
impl Unpin for GovernedResponsePlanIntentBody
impl UnsafeUnpin for GovernedResponsePlanIntentBody
impl UnwindSafe for GovernedResponsePlanIntentBody
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