pub struct GovernedAutonomyContext {
pub tier: GovernedAutonomyTier,
pub delegation_bond_id: Option<String>,
}Expand description
Explicit autonomy and delegation-bond context attached to a governed request.
Fields§
§tier: GovernedAutonomyTierRequested autonomy tier for this one governed action.
delegation_bond_id: Option<String>Optional signed delegation-bond artifact that backs higher-risk execution.
Trait Implementations§
Source§impl Clone for GovernedAutonomyContext
impl Clone for GovernedAutonomyContext
Source§fn clone(&self) -> GovernedAutonomyContext
fn clone(&self) -> GovernedAutonomyContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GovernedAutonomyContext
impl Debug for GovernedAutonomyContext
Source§impl<'de> Deserialize<'de> for GovernedAutonomyContext
impl<'de> Deserialize<'de> for GovernedAutonomyContext
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedAutonomyContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedAutonomyContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GovernedAutonomyContext
impl PartialEq for GovernedAutonomyContext
Source§impl Serialize for GovernedAutonomyContext
impl Serialize for GovernedAutonomyContext
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 Eq for GovernedAutonomyContext
impl StructuralPartialEq for GovernedAutonomyContext
Auto Trait Implementations§
impl Freeze for GovernedAutonomyContext
impl RefUnwindSafe for GovernedAutonomyContext
impl Send for GovernedAutonomyContext
impl Sync for GovernedAutonomyContext
impl Unpin for GovernedAutonomyContext
impl UnsafeUnpin for GovernedAutonomyContext
impl UnwindSafe for GovernedAutonomyContext
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