pub struct GatedAction {
pub sister_type: SisterType,
pub action_type: String,
pub risk_level: RiskLevel,
pub risk_score: f64,
pub capability: String,
pub requested_at: DateTime<Utc>,
pub params: Metadata,
}Expand description
An action that needs to pass through the execution gate
Fields§
§sister_type: SisterTypeWhat sister is requesting this action
action_type: StringAction type
risk_level: RiskLevelAssessed risk level
risk_score: f64Risk score (0.0-1.0)
capability: StringRequired capability
requested_at: DateTime<Utc>When the action was requested
params: MetadataAction parameters
Trait Implementations§
Source§impl Clone for GatedAction
impl Clone for GatedAction
Source§fn clone(&self) -> GatedAction
fn clone(&self) -> GatedAction
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 GatedAction
impl Debug for GatedAction
Source§impl<'de> Deserialize<'de> for GatedAction
impl<'de> Deserialize<'de> for GatedAction
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
Auto Trait Implementations§
impl Freeze for GatedAction
impl RefUnwindSafe for GatedAction
impl Send for GatedAction
impl Sync for GatedAction
impl Unpin for GatedAction
impl UnsafeUnpin for GatedAction
impl UnwindSafe for GatedAction
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