removed useless information on marker struct

This commit is contained in:
Valmo Trindade
2024-09-20 17:53:08 -03:00
parent 56c3e1787d
commit f8ca2d21d7
2 changed files with 2 additions and 12 deletions

View File

@@ -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
})
}
}