pub struct CameraIsapi {
pub camera_id: String,
pub device_name: Option<String>,
pub model: Option<String>,
pub firmware_version: Option<String>,
pub serial_number: Option<String>,
pub onvif_enabled: bool,
pub onvif_user_created: bool,
pub time_mode: Option<String>,
pub ntp_server: Option<String>,
pub fetched_at: DateTime<Utc>,
}Expand description
Per-camera HikVision ISAPI configuration state, populated by the camera-config service. Mirrors
GET /ISAPI/System/deviceInfo (identity), /System/Network/Integrate (onvif_enabled), the
kernel-provisioned ONVIF user (onvif_user_created), and /System/time (time_mode/ntp_server).
Fields§
§camera_id: String§device_name: Option<String>§model: Option<String>§firmware_version: Option<String>§serial_number: Option<String>§onvif_enabled: bool§onvif_user_created: bool§time_mode: Option<String>§ntp_server: Option<String>§fetched_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for CameraIsapi
impl Clone for CameraIsapi
Source§fn clone(&self) -> CameraIsapi
fn clone(&self) -> CameraIsapi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CameraIsapi
impl Debug for CameraIsapi
Source§impl<'a, R: Row> FromRow<'a, R> for CameraIsapi
impl<'a, R: Row> FromRow<'a, R> for CameraIsapi
Auto Trait Implementations§
impl Freeze for CameraIsapi
impl RefUnwindSafe for CameraIsapi
impl Send for CameraIsapi
impl Sync for CameraIsapi
impl Unpin for CameraIsapi
impl UnsafeUnpin for CameraIsapi
impl UnwindSafe for CameraIsapi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more