pub struct CameraOnvif {Show 14 fields
pub camera_id: String,
pub device_url: String,
pub manufacturer: Option<String>,
pub model: Option<String>,
pub firmware_version: Option<String>,
pub serial_number: Option<String>,
pub hardware_id: Option<String>,
pub scopes: Json<Value>,
pub media_url: Option<String>,
pub ptz_url: Option<String>,
pub profile_token: Option<String>,
pub ptz_node_token: Option<String>,
pub ptz_enabled: bool,
pub probed_at: DateTime<Utc>,
}Expand description
Per-camera ONVIF device profile, populated by crate::services::onvif::probe. scopes is a
JSON array of ONVIF scope URIs. ptz_enabled is true when the device exposes a PTZ service and
the chosen media profile carries a PTZConfiguration.
Fields§
§camera_id: String§device_url: String§manufacturer: Option<String>§model: Option<String>§firmware_version: Option<String>§serial_number: Option<String>§hardware_id: Option<String>§scopes: Json<Value>§media_url: Option<String>§ptz_url: Option<String>§profile_token: Option<String>§ptz_node_token: Option<String>§ptz_enabled: bool§probed_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for CameraOnvif
impl Clone for CameraOnvif
Source§fn clone(&self) -> CameraOnvif
fn clone(&self) -> CameraOnvif
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 CameraOnvif
impl Debug for CameraOnvif
Source§impl<'a, R: Row> FromRow<'a, R> for CameraOnvifwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Json<Value>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for CameraOnvifwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Json<Value>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for CameraOnvif
impl RefUnwindSafe for CameraOnvif
impl Send for CameraOnvif
impl Sync for CameraOnvif
impl Unpin for CameraOnvif
impl UnsafeUnpin for CameraOnvif
impl UnwindSafe for CameraOnvif
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