pub struct CameraView {Show 31 fields
pub id: String,
pub site_id: Option<String>,
pub name: String,
pub vendor: String,
pub model: Option<String>,
pub address: Option<String>,
pub rtsp_port: i64,
pub username: Option<String>,
pub has_password: bool,
pub record_stream: String,
pub record_url_masked: Option<String>,
pub codec: Option<String>,
pub resolution_main: Option<String>,
pub resolution_sub: Option<String>,
pub fps_main: Option<i64>,
pub fps_sub: Option<i64>,
pub capabilities: Value,
pub record_enabled: bool,
pub segment_seconds: i64,
pub retention_hours: i64,
pub storage_quota_bytes: Option<i64>,
pub record_audio: bool,
pub record_mode: String,
pub pre_roll_seconds: i64,
pub post_roll_seconds: i64,
pub mirror_enabled: bool,
pub anr_enabled: bool,
pub anr_replay_url_template: Option<String>,
pub enabled: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Client-facing camera representation: credentials stripped, stream URLs masked.
Fields§
§id: String§site_id: Option<String>§name: String§vendor: String§model: Option<String>§address: Option<String>§rtsp_port: i64§username: Option<String>§has_password: bool§record_stream: String§record_url_masked: Option<String>Effective RTSP URL for the recorded stream, with credentials masked.
codec: Option<String>§resolution_main: Option<String>§resolution_sub: Option<String>§fps_main: Option<i64>§fps_sub: Option<i64>§capabilities: Value§record_enabled: bool§segment_seconds: i64§retention_hours: i64§storage_quota_bytes: Option<i64>§record_audio: bool§record_mode: String§pre_roll_seconds: i64§post_roll_seconds: i64§mirror_enabled: bool§anr_enabled: bool§anr_replay_url_template: Option<String>§enabled: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for CameraView
impl Clone for CameraView
Source§fn clone(&self) -> CameraView
fn clone(&self) -> CameraView
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 CameraView
impl Debug for CameraView
Source§impl From<Camera> for CameraView
impl From<Camera> for CameraView
Auto Trait Implementations§
impl Freeze for CameraView
impl RefUnwindSafe for CameraView
impl Send for CameraView
impl Sync for CameraView
impl Unpin for CameraView
impl UnsafeUnpin for CameraView
impl UnwindSafe for CameraView
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