From fb01c3852ecb84035e2de66a30afe2aa16b33a91 Mon Sep 17 00:00:00 2001 From: Santiago Cingolani Date: Fri, 25 Oct 2024 10:45:06 +0200 Subject: [PATCH] Make safe fields of Raw types public --- heimlig/src/integration/raw_jobs.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/heimlig/src/integration/raw_jobs.rs b/heimlig/src/integration/raw_jobs.rs index d10deb9..4738497 100644 --- a/heimlig/src/integration/raw_jobs.rs +++ b/heimlig/src/integration/raw_jobs.rs @@ -45,8 +45,8 @@ pub struct RequestResponseRawPair { #[repr(C)] #[derive(Clone, Copy, Debug)] pub struct RequestRaw { - client_id: ClientIdRaw, - request_id: RequestIdRaw, + pub client_id: ClientIdRaw, + pub request_id: RequestIdRaw, data: RequestDataRaw, } @@ -344,8 +344,8 @@ pub enum RequestDataRaw { #[repr(C)] #[derive(Clone, Copy, Debug)] pub struct ResponseRaw { - client_id: ClientIdRaw, - request_id: RequestIdRaw, + pub client_id: ClientIdRaw, + pub request_id: RequestIdRaw, data: ResponseDataRaw, }