pub struct GroundedActionRef {Show 13 fields
pub grounded_action_id: String,
pub screenshot_hash: String,
pub dom_or_ax_snapshot_hash: String,
pub target_ref: String,
pub bbox_or_element_id: String,
pub action_type: GroundedActionRefActionType,
pub precondition: String,
pub postcondition: String,
pub verification_scope_ref: String,
pub policy_hash: String,
pub sandbox_grant_hash: Option<String>,
pub created_at: Option<String>,
pub grounding_hash: Option<String>,
}Fields§
§grounded_action_id: String§screenshot_hash: String§dom_or_ax_snapshot_hash: String§target_ref: String§bbox_or_element_id: String§action_type: GroundedActionRefActionType§precondition: String§postcondition: String§verification_scope_ref: String§policy_hash: String§sandbox_grant_hash: Option<String>§created_at: Option<String>§grounding_hash: Option<String>Implementations§
Source§impl GroundedActionRef
impl GroundedActionRef
pub fn new( grounded_action_id: String, screenshot_hash: String, dom_or_ax_snapshot_hash: String, target_ref: String, bbox_or_element_id: String, action_type: GroundedActionRefActionType, precondition: String, postcondition: String, verification_scope_ref: String, policy_hash: String, ) -> GroundedActionRef
Trait Implementations§
Source§impl Clone for GroundedActionRef
impl Clone for GroundedActionRef
Source§fn clone(&self) -> GroundedActionRef
fn clone(&self) -> GroundedActionRef
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 GroundedActionRef
impl Debug for GroundedActionRef
Source§impl Default for GroundedActionRef
impl Default for GroundedActionRef
Source§fn default() -> GroundedActionRef
fn default() -> GroundedActionRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroundedActionRef
impl<'de> Deserialize<'de> for GroundedActionRef
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 GroundedActionRef
impl PartialEq for GroundedActionRef
Source§fn eq(&self, other: &GroundedActionRef) -> bool
fn eq(&self, other: &GroundedActionRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GroundedActionRef
impl Serialize for GroundedActionRef
impl StructuralPartialEq for GroundedActionRef
Auto Trait Implementations§
impl Freeze for GroundedActionRef
impl RefUnwindSafe for GroundedActionRef
impl Send for GroundedActionRef
impl Sync for GroundedActionRef
impl Unpin for GroundedActionRef
impl UnsafeUnpin for GroundedActionRef
impl UnwindSafe for GroundedActionRef
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