mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-09 05:34:56 -05:00
remove obsolete CameraConfig
Since 0.7.0, the one in the db package is used both for actual storage within the database and for API use. I left the API-specific version around by accident.
This commit is contained in:
@@ -66,14 +66,6 @@ pub struct Camera<'a> {
|
||||
pub streams: [Option<Stream<'a>>; 2],
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct CameraConfig<'a> {
|
||||
pub onvif_host: &'a str,
|
||||
pub username: Option<&'a str>,
|
||||
pub password: Option<&'a str>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Stream<'a> {
|
||||
|
||||
Reference in New Issue
Block a user