mirror of
https://git.proxmox.com/git/proxmox
synced 2025-10-04 13:53:54 +00:00
proxmox-schema: derive PartialEq for UPID (for GUI)
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
eb6df88120
commit
578f994e6b
@ -14,7 +14,7 @@ use crate::{const_regex, ApiStringFormat, ApiType, Schema, StringSchema};
|
|||||||
/// Please note that we use tokio, so a single thread can run multiple
|
/// Please note that we use tokio, so a single thread can run multiple
|
||||||
/// tasks.
|
/// tasks.
|
||||||
// #[api] - manually implemented API type
|
// #[api] - manually implemented API type
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct UPID {
|
pub struct UPID {
|
||||||
/// The Unix PID
|
/// The Unix PID
|
||||||
pub pid: i32, // really libc::pid_t, but we don't want this as a dependency for proxmox-schema
|
pub pid: i32, // really libc::pid_t, but we don't want this as a dependency for proxmox-schema
|
||||||
|
Loading…
Reference in New Issue
Block a user