mirror of
https://github.com/Syfaro/bkapi.git
synced 2024-12-22 13:35:57 +00:00
Fix fields not being public.
This commit is contained in:
parent
e34ae3edc9
commit
37bf4fd569
@ -119,8 +119,10 @@ pub struct BKApiNatsClient {
|
||||
/// A hash and distance.
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
pub struct HashDistance {
|
||||
hash: i64,
|
||||
distance: u32,
|
||||
/// Hash to search.
|
||||
pub hash: i64,
|
||||
/// Maximum distance from hash to include in results.
|
||||
pub distance: u32,
|
||||
}
|
||||
|
||||
impl BKApiNatsClient {
|
||||
|
Loading…
Reference in New Issue
Block a user