pub struct ActionResourceContext {
pub target_app_id: Option<String>,
pub target_window_id: Option<Value>,
pub filesystem_path: Option<String>,
pub filesystem_destination: Option<String>,
pub registry_path: Option<String>,
pub process_name: Option<String>,
pub process_id: Option<u32>,
pub browser_domain: Option<String>,
}Expand description
Optional resource identifiers describing what an action touches.
Fields§
§target_app_id: Option<String>Target application/bundle identifier.
target_window_id: Option<Value>Target window identifier.
filesystem_path: Option<String>Filesystem path acted upon.
filesystem_destination: Option<String>Filesystem destination (e.g. for a move/copy).
registry_path: Option<String>Registry path acted upon (Windows).
process_name: Option<String>Process name acted upon.
process_id: Option<u32>Process identifier acted upon.
browser_domain: Option<String>Browser domain acted upon.
Trait Implementations§
Source§impl Clone for ActionResourceContext
impl Clone for ActionResourceContext
Source§fn clone(&self) -> ActionResourceContext
fn clone(&self) -> ActionResourceContext
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 ActionResourceContext
impl Debug for ActionResourceContext
Source§impl Default for ActionResourceContext
impl Default for ActionResourceContext
Source§fn default() -> ActionResourceContext
fn default() -> ActionResourceContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionResourceContext
impl<'de> Deserialize<'de> for ActionResourceContext
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 ActionResourceContext
impl PartialEq for ActionResourceContext
Source§impl Serialize for ActionResourceContext
impl Serialize for ActionResourceContext
impl StructuralPartialEq for ActionResourceContext
Auto Trait Implementations§
impl Freeze for ActionResourceContext
impl RefUnwindSafe for ActionResourceContext
impl Send for ActionResourceContext
impl Sync for ActionResourceContext
impl Unpin for ActionResourceContext
impl UnsafeUnpin for ActionResourceContext
impl UnwindSafe for ActionResourceContext
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