pub struct ActionProvenance {
pub untrusted_instruction: bool,
pub source_observation_ids: Vec<String>,
pub crosses_data_boundary: Option<bool>,
}Expand description
Provenance describing whether an action derives from untrusted instructions.
Fields§
§untrusted_instruction: boolWhether the action originates from untrusted instruction text.
source_observation_ids: Vec<String>Observation frames the action was derived from.
crosses_data_boundary: Option<bool>Whether the action crosses a data trust boundary.
Trait Implementations§
Source§impl Clone for ActionProvenance
impl Clone for ActionProvenance
Source§fn clone(&self) -> ActionProvenance
fn clone(&self) -> ActionProvenance
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 ActionProvenance
impl Debug for ActionProvenance
Source§impl<'de> Deserialize<'de> for ActionProvenance
impl<'de> Deserialize<'de> for ActionProvenance
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
Source§impl PartialEq for ActionProvenance
impl PartialEq for ActionProvenance
Source§impl Serialize for ActionProvenance
impl Serialize for ActionProvenance
impl StructuralPartialEq for ActionProvenance
Auto Trait Implementations§
impl Freeze for ActionProvenance
impl RefUnwindSafe for ActionProvenance
impl Send for ActionProvenance
impl Sync for ActionProvenance
impl Unpin for ActionProvenance
impl UnsafeUnpin for ActionProvenance
impl UnwindSafe for ActionProvenance
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