pub struct ForegroundProcess {
pub root_process_id: u32,
pub process_id: u32,
pub process_name: String,
pub kind: ForegroundProcessKind,
}Fields§
§root_process_id: u32§process_id: u32§process_name: String§kind: ForegroundProcessKindImplementations§
Source§impl ForegroundProcess
impl ForegroundProcess
pub fn is_valid_for(&self, session_agent_id: &AgentId) -> bool
Trait Implementations§
Source§impl Clone for ForegroundProcess
impl Clone for ForegroundProcess
Source§impl Debug for ForegroundProcess
impl Debug for ForegroundProcess
Source§impl<'de> Deserialize<'de> for ForegroundProcess
impl<'de> Deserialize<'de> for ForegroundProcess
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
impl Eq for ForegroundProcess
Source§impl PartialEq for ForegroundProcess
impl PartialEq for ForegroundProcess
Source§impl Serialize for ForegroundProcess
impl Serialize for ForegroundProcess
impl StructuralPartialEq for ForegroundProcess
Auto Trait Implementations§
impl Freeze for ForegroundProcess
impl RefUnwindSafe for ForegroundProcess
impl Send for ForegroundProcess
impl Sync for ForegroundProcess
impl Unpin for ForegroundProcess
impl UnsafeUnpin for ForegroundProcess
impl UnwindSafe for ForegroundProcess
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