pub struct CameraUpdate {Show 25 fields
pub name: Option<String>,
pub site_id: Option<String>,
pub vendor: Option<String>,
pub model: Option<String>,
pub address: Option<String>,
pub rtsp_port: Option<i64>,
pub username: Option<String>,
pub password: Option<String>,
pub main_stream_url: Option<String>,
pub sub_stream_url: Option<String>,
pub record_stream: Option<String>,
pub capabilities: Option<Value>,
pub record_enabled: Option<bool>,
pub segment_seconds: Option<i64>,
pub retention_hours: Option<i64>,
pub storage_quota_bytes: Option<i64>,
pub record_audio: Option<bool>,
pub record_mode: Option<String>,
pub pre_roll_seconds: Option<i64>,
pub post_roll_seconds: Option<i64>,
pub mirror_enabled: Option<bool>,
pub anr_enabled: Option<bool>,
pub anr_replay_url_template: Option<String>,
pub enabled: Option<bool>,
pub priority: Option<i64>,
}Expand description
Partial update; only present fields are changed.
Fields§
§name: Option<String>§site_id: Option<String>§vendor: Option<String>§model: Option<String>§address: Option<String>§rtsp_port: Option<i64>§username: Option<String>§password: Option<String>§main_stream_url: Option<String>§sub_stream_url: Option<String>§record_stream: Option<String>§capabilities: Option<Value>§record_enabled: Option<bool>§segment_seconds: Option<i64>§retention_hours: Option<i64>§storage_quota_bytes: Option<i64>§record_audio: Option<bool>§record_mode: Option<String>§pre_roll_seconds: Option<i64>§post_roll_seconds: Option<i64>§mirror_enabled: Option<bool>§anr_enabled: Option<bool>§anr_replay_url_template: Option<String>§enabled: Option<bool>§priority: Option<i64>Trait Implementations§
Source§impl Debug for CameraUpdate
impl Debug for CameraUpdate
Source§impl Default for CameraUpdate
impl Default for CameraUpdate
Source§fn default() -> CameraUpdate
fn default() -> CameraUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CameraUpdate
impl<'de> Deserialize<'de> for CameraUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CameraUpdate
impl RefUnwindSafe for CameraUpdate
impl Send for CameraUpdate
impl Sync for CameraUpdate
impl Unpin for CameraUpdate
impl UnsafeUnpin for CameraUpdate
impl UnwindSafe for CameraUpdate
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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