Execute the Great Autoformatting of 2020
This commit is contained in:
1 parent
97daab15da
commit
d90e22cf8e
11 files changed
+360
-228
No files matched your search
+2
-2
@@ -6,7 +6,7 @@ use std::time::Duration;
|
||||
pub struct Config {
|
||||
pub cameras: Vec<CameraConfig>,
|
||||
|
||||
#[serde(rename="bind", default="default_bind_addr")]
|
||||
#[serde(rename = "bind", default = "default_bind_addr")]
|
||||
pub bind_addr: String,
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ pub struct Config {
|
||||
pub struct CameraConfig {
|
||||
pub name: String,
|
||||
|
||||
#[serde(rename="address")]
|
||||
#[serde(rename = "address")]
|
||||
pub camera_addr: SocketAddr,
|
||||
|
||||
pub username: String,
|
||||
|
||||
Reference in new issue
Block a user