pub struct DiscoveredDevice {Show 15 fields
pub address: String,
pub rtsp_port: u16,
pub rtsp_open: bool,
pub http_open: bool,
pub vendor_guess: String,
pub http_server: Option<String>,
pub verified: bool,
pub codec: Option<String>,
pub width: Option<i64>,
pub height: Option<i64>,
pub stream_path: Option<String>,
pub matched_username: Option<String>,
pub matched_password: Option<String>,
pub suggested_id: String,
pub already_registered: bool,
}Fields§
§address: String§rtsp_port: u16§rtsp_open: bool§http_open: bool§vendor_guess: String§http_server: Option<String>§verified: bool§codec: Option<String>§width: Option<i64>§height: Option<i64>§stream_path: Option<String>The RTSP path that verified (e.g. /Streaming/Channels/101).
matched_username: Option<String>The username that verified (password is never serialized).
matched_password: Option<String>§suggested_id: String§already_registered: boolTrait Implementations§
Source§impl Clone for DiscoveredDevice
impl Clone for DiscoveredDevice
Source§fn clone(&self) -> DiscoveredDevice
fn clone(&self) -> DiscoveredDevice
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 DiscoveredDevice
impl Debug for DiscoveredDevice
Auto Trait Implementations§
impl Freeze for DiscoveredDevice
impl RefUnwindSafe for DiscoveredDevice
impl Send for DiscoveredDevice
impl Sync for DiscoveredDevice
impl Unpin for DiscoveredDevice
impl UnsafeUnpin for DiscoveredDevice
impl UnwindSafe for DiscoveredDevice
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