pub struct DeviceCaptureSpec {
pub targets: Vec<String>,
}Expand description
Device capture face (device:capture): screenshots and friends.
Scope is mandatory at the policy layer (P3: an empty target list must be rejected) — capturing outside the declared targets is an overreach.
Fields§
§targets: Vec<String>Capture targets, e.g. ["window:editor"].
Trait Implementations§
Source§impl Clone for DeviceCaptureSpec
impl Clone for DeviceCaptureSpec
Source§impl Debug for DeviceCaptureSpec
impl Debug for DeviceCaptureSpec
impl Eq for DeviceCaptureSpec
Source§impl PartialEq for DeviceCaptureSpec
impl PartialEq for DeviceCaptureSpec
impl StructuralPartialEq for DeviceCaptureSpec
Auto Trait Implementations§
impl Forget for DeviceCaptureSpec
impl Freeze for DeviceCaptureSpec
impl Move for DeviceCaptureSpec
impl RefUnwindSafe for DeviceCaptureSpec
impl Send for DeviceCaptureSpec
impl Sync for DeviceCaptureSpec
impl Unpin for DeviceCaptureSpec
impl UnsafeUnpin for DeviceCaptureSpec
impl UnwindSafe for DeviceCaptureSpec
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