mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 19:03:30 +00:00
removed useless information on marker struct
This commit is contained in:
@@ -13,8 +13,6 @@ pub struct Marker {
|
||||
pub hae: f64,
|
||||
pub api_address: String,
|
||||
pub api_auth_token: String,
|
||||
pub api_auth_username: String,
|
||||
pub api_auth_password: String,
|
||||
}
|
||||
|
||||
impl FromArma for Marker {
|
||||
@@ -30,8 +28,6 @@ impl FromArma for Marker {
|
||||
hae,
|
||||
api_address,
|
||||
api_auth_token,
|
||||
api_auth_username,
|
||||
api_auth_password
|
||||
) = <(
|
||||
String,
|
||||
f64,
|
||||
@@ -42,8 +38,6 @@ impl FromArma for Marker {
|
||||
String,
|
||||
f64,
|
||||
String,
|
||||
String,
|
||||
String,
|
||||
String
|
||||
)>::from_arma(data)?;
|
||||
Ok(Self {
|
||||
@@ -56,9 +50,7 @@ impl FromArma for Marker {
|
||||
name,
|
||||
hae,
|
||||
api_address,
|
||||
api_auth_token,
|
||||
api_auth_username,
|
||||
api_auth_password
|
||||
api_auth_token
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user