OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

NetworkConfig

pub struct NetworkConfig

A camera's own Ethernet configuration, as it holds it.

Read it, change what you mean to change, and write it back: Camera::apply_network_config writes every field, so a default-constructed one moves the camera to 0.0.0.0 as surely as a typed one moves it anywhere else.

NetworkConfig — fields

ip_address: String

The camera's address.

subnet_mask: String

Its subnet mask.

stream_destination: String

Where it sends its stream. Equal to NetworkConfig::ip_address is refused by the SDK before anything is written.

port: u16

Its control port.