pub struct AvcActionRequest {
pub action_id: Hash256,
pub actor_did: Did,
pub requested_permission: Permission,
pub tool: Option<String>,
pub target_did: Option<Did>,
pub data_class: Option<DataClass>,
pub estimated_budget_minor_units: Option<u64>,
pub estimated_risk_bp: Option<u32>,
pub human_approval: Option<AvcHumanApproval>,
pub requires_human_approval: bool,
pub action_name: Option<String>,
}Fields§
§action_id: Hash256§actor_did: Did§requested_permission: Permission§tool: Option<String>§target_did: Option<Did>§data_class: Option<DataClass>§estimated_budget_minor_units: Option<u64>§estimated_risk_bp: Option<u32>§human_approval: Option<AvcHumanApproval>§requires_human_approval: bool§action_name: Option<String>Free-form action name used to enforce forbidden_actions.
Trait Implementations§
Source§impl Clone for AvcActionRequest
impl Clone for AvcActionRequest
Source§fn clone(&self) -> AvcActionRequest
fn clone(&self) -> AvcActionRequest
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 Debug for AvcActionRequest
impl Debug for AvcActionRequest
Source§impl<'de> Deserialize<'de> for AvcActionRequest
impl<'de> Deserialize<'de> for AvcActionRequest
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 AvcActionRequest
Source§impl PartialEq for AvcActionRequest
impl PartialEq for AvcActionRequest
Source§fn eq(&self, other: &AvcActionRequest) -> bool
fn eq(&self, other: &AvcActionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AvcActionRequest
impl Serialize for AvcActionRequest
impl StructuralPartialEq for AvcActionRequest
Auto Trait Implementations§
impl Freeze for AvcActionRequest
impl RefUnwindSafe for AvcActionRequest
impl Send for AvcActionRequest
impl Sync for AvcActionRequest
impl Unpin for AvcActionRequest
impl UnsafeUnpin for AvcActionRequest
impl UnwindSafe for AvcActionRequest
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