pub struct OpenCamera {
pub transport: String,
pub identity: Vec<(String, String)>,
pub xml: String,
}Expand description
What a caller holding a camera open knows about it, for
ReportTarget::Open.
Fields§
§transport: StringHow the camera is attached, such as "USB3 Vision".
identity: Vec<(String, String)>Its identity, one line each: manufacturer, model, serial, and whatever else tells it apart.
xml: StringIts GenApi XML.
Trait Implementations§
Source§impl Clone for OpenCamera
impl Clone for OpenCamera
Source§impl Debug for OpenCamera
impl Debug for OpenCamera
impl Eq for OpenCamera
Source§impl PartialEq for OpenCamera
impl PartialEq for OpenCamera
impl StructuralPartialEq for OpenCamera
Auto Trait Implementations§
impl Freeze for OpenCamera
impl RefUnwindSafe for OpenCamera
impl Send for OpenCamera
impl Sync for OpenCamera
impl Unpin for OpenCamera
impl UnsafeUnpin for OpenCamera
impl UnwindSafe for OpenCamera
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.