pub struct DiscoveredOnvifDevice {
pub endpoint_reference: Option<String>,
pub device_url: String,
pub xaddrs: Vec<String>,
pub address: Option<String>,
pub types: Option<String>,
pub scopes: Vec<String>,
}Expand description
A device found by WS-Discovery.
Fields§
§endpoint_reference: Option<String>The device’s wsa:EndpointReference/Address (a urn:uuid: URN), if present.
device_url: StringThe first transport address (the ONVIF device service URL we would probe).
xaddrs: Vec<String>All advertised transport addresses.
address: Option<String>Host extracted from device_url (matches a camera’s address).
types: Option<String>Advertised device types (e.g. dn:NetworkVideoTransmitter).
scopes: Vec<String>Advertised scope URIs (name/hardware/location hints).
Trait Implementations§
Source§impl Clone for DiscoveredOnvifDevice
impl Clone for DiscoveredOnvifDevice
Source§fn clone(&self) -> DiscoveredOnvifDevice
fn clone(&self) -> DiscoveredOnvifDevice
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 DiscoveredOnvifDevice
impl Debug for DiscoveredOnvifDevice
Auto Trait Implementations§
impl Freeze for DiscoveredOnvifDevice
impl RefUnwindSafe for DiscoveredOnvifDevice
impl Send for DiscoveredOnvifDevice
impl Sync for DiscoveredOnvifDevice
impl Unpin for DiscoveredOnvifDevice
impl UnsafeUnpin for DiscoveredOnvifDevice
impl UnwindSafe for DiscoveredOnvifDevice
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