pub struct WebcamStream {
pub url: String,
pub port: Option<i64>,
pub already_running: bool,
}Expand description
Result of starting a webcam stream (start action).
Fields§
§url: StringMJPEG stream URL viewers should open.
port: Option<i64>TCP port the stream is served on.
already_running: booltrue when a stream was already up and the box reused it.
Trait Implementations§
Source§impl Clone for WebcamStream
impl Clone for WebcamStream
Source§fn clone(&self) -> WebcamStream
fn clone(&self) -> WebcamStream
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 WebcamStream
impl Debug for WebcamStream
Source§impl<'de> Deserialize<'de> for WebcamStream
impl<'de> Deserialize<'de> for WebcamStream
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 WebcamStream
impl RefUnwindSafe for WebcamStream
impl Send for WebcamStream
impl Sync for WebcamStream
impl Unpin for WebcamStream
impl UnsafeUnpin for WebcamStream
impl UnwindSafe for WebcamStream
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