pub struct GenCamDescriptor {
pub id: usize,
pub name: String,
pub vendor: String,
pub info: HashMap<String, PropertyValue>,
}
Expand description
A structure to hold information about a camera device.
Fields§
§id: usize
The camera ID.
name: String
The camera name.
vendor: String
The camera vendor.
info: HashMap<String, PropertyValue>
Additional info
Trait Implementations§
Source§impl Clone for GenCamDescriptor
impl Clone for GenCamDescriptor
Source§fn clone(&self) -> GenCamDescriptor
fn clone(&self) -> GenCamDescriptor
Returns a duplicate of the value. Read more
1.0.0 · 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 GenCamDescriptor
impl Debug for GenCamDescriptor
Source§impl Default for GenCamDescriptor
impl Default for GenCamDescriptor
Source§fn default() -> GenCamDescriptor
fn default() -> GenCamDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GenCamDescriptor
impl<'de> Deserialize<'de> for GenCamDescriptor
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
Source§impl From<&GenCamDescriptor> for GenSrvValue
Available on crate feature server
only.
impl From<&GenCamDescriptor> for GenSrvValue
Available on crate feature
server
only.Source§fn from(info: &GenCamDescriptor) -> Self
fn from(info: &GenCamDescriptor) -> Self
Converts to this type from the input type.
Source§impl From<GenCamDescriptor> for GenSrvValue
Available on crate feature server
only.
impl From<GenCamDescriptor> for GenSrvValue
Available on crate feature
server
only.Source§fn from(info: GenCamDescriptor) -> Self
fn from(info: GenCamDescriptor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GenCamDescriptor
impl PartialEq for GenCamDescriptor
Source§impl Serialize for GenCamDescriptor
impl Serialize for GenCamDescriptor
impl StructuralPartialEq for GenCamDescriptor
Auto Trait Implementations§
impl Freeze for GenCamDescriptor
impl RefUnwindSafe for GenCamDescriptor
impl Send for GenCamDescriptor
impl Sync for GenCamDescriptor
impl Unpin for GenCamDescriptor
impl UnwindSafe for GenCamDescriptor
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