pub enum GovernedTransactionIntentBody {
ToolInvocation,
ActiveResponsePlan(Box<GovernedResponsePlanIntentBody>),
}Expand description
Typed extension carried by a governed transaction intent.
Variants§
ToolInvocation
ActiveResponsePlan(Box<GovernedResponsePlanIntentBody>)
Trait Implementations§
Source§impl Clone for GovernedTransactionIntentBody
impl Clone for GovernedTransactionIntentBody
Source§fn clone(&self) -> GovernedTransactionIntentBody
fn clone(&self) -> GovernedTransactionIntentBody
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 Default for GovernedTransactionIntentBody
impl Default for GovernedTransactionIntentBody
Source§fn default() -> GovernedTransactionIntentBody
fn default() -> GovernedTransactionIntentBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GovernedTransactionIntentBody
impl<'de> Deserialize<'de> for GovernedTransactionIntentBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedTransactionIntentBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedTransactionIntentBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GovernedTransactionIntentBody
Source§impl Serialize for GovernedTransactionIntentBody
impl Serialize for GovernedTransactionIntentBody
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 GovernedTransactionIntentBody
Auto Trait Implementations§
impl Freeze for GovernedTransactionIntentBody
impl RefUnwindSafe for GovernedTransactionIntentBody
impl Send for GovernedTransactionIntentBody
impl Sync for GovernedTransactionIntentBody
impl Unpin for GovernedTransactionIntentBody
impl UnsafeUnpin for GovernedTransactionIntentBody
impl UnwindSafe for GovernedTransactionIntentBody
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