Fix fields not being public.

This commit is contained in:
Syfaro 2023-02-10 23:14:21 -05:00
parent e34ae3edc9
commit 37bf4fd569

View File

@ -119,8 +119,10 @@ pub struct BKApiNatsClient {
/// A hash and distance. /// A hash and distance.
#[derive(serde::Serialize, serde::Deserialize)] #[derive(serde::Serialize, serde::Deserialize)]
pub struct HashDistance { pub struct HashDistance {
hash: i64, /// Hash to search.
distance: u32, pub hash: i64,
/// Maximum distance from hash to include in results.
pub distance: u32,
} }
impl BKApiNatsClient { impl BKApiNatsClient {