θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content
2 changes: 2 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
///
/// Contains settings for enabling status endpoint and zone tracking
#[repr(C)]
#[allow(dead_code)]
pub struct VtsConfig {
/// Enable the VTS status endpoint
pub enable_status: bool,
Expand All @@ -13,6 +14,7 @@ pub struct VtsConfig {

impl VtsConfig {
/// Create a new VTS configuration with default settings
#[allow(dead_code)]
pub fn new() -> Self {
VtsConfig {
enable_status: false,
Expand Down
Loading
Loading