mirror of
https://github.com/Syfaro/bkapi.git
synced 2024-11-21 14:34:08 +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.
|
/// 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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user