From 0fd74e7006d2a040fa90416de98a4bed2c32dbfd Mon Sep 17 00:00:00 2001 From: TotallyNot <44345987+TotallyNot@users.noreply.github.com> Date: Sun, 22 Jan 2023 18:54:46 +0100 Subject: [PATCH] changed ApiRequest field's visibility --- torn-api/Cargo.toml | 2 +- torn-api/src/lib.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/torn-api/Cargo.toml b/torn-api/Cargo.toml index bd78901..74af14c 100644 --- a/torn-api/Cargo.toml +++ b/torn-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "torn-api" -version = "0.5.4" +version = "0.5.5" edition = "2021" authors = ["Pyrit [2111649]"] license = "MIT" diff --git a/torn-api/src/lib.rs b/torn-api/src/lib.rs index 872077f..2b4f334 100644 --- a/torn-api/src/lib.rs +++ b/torn-api/src/lib.rs @@ -136,10 +136,10 @@ pub struct ApiRequest where A: ApiCategoryResponse, { - selections: Vec<&'static str>, - from: Option>, - to: Option>, - comment: Option, + pub selections: Vec<&'static str>, + pub from: Option>, + pub to: Option>, + pub comment: Option, phantom: std::marker::PhantomData, }