pub struct MethodAccess {
pub ui_only: bool,
pub mutates: bool,
}Expand description
Local-API policy for one IPC method.
Fields§
§ui_only: boolThe method opens a window or program and cannot be called remotely.
mutates: boolA successful call changes observable state or starts work.
Trait Implementations§
Source§impl Clone for MethodAccess
impl Clone for MethodAccess
impl Copy for MethodAccess
Source§impl Debug for MethodAccess
impl Debug for MethodAccess
impl Eq for MethodAccess
Source§impl PartialEq for MethodAccess
impl PartialEq for MethodAccess
impl StructuralPartialEq for MethodAccess
Auto Trait Implementations§
impl Freeze for MethodAccess
impl RefUnwindSafe for MethodAccess
impl Send for MethodAccess
impl Sync for MethodAccess
impl Unpin for MethodAccess
impl UnsafeUnpin for MethodAccess
impl UnwindSafe for MethodAccess
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