pub struct ScannerAdapterMetadata {
pub scanner: Option<Box<Scanner>>,
pub capabilities: Option<Vec<ScannerCapability>>,
pub properties: Option<HashMap<String, String>>,
}Expand description
ScannerAdapterMetadata : The metadata info of the scanner adapter
Fields§
§scanner: Option<Box<Scanner>>§capabilities: Option<Vec<ScannerCapability>>§properties: Option<HashMap<String, String>>Implementations§
Source§impl ScannerAdapterMetadata
impl ScannerAdapterMetadata
Sourcepub fn new() -> ScannerAdapterMetadata
pub fn new() -> ScannerAdapterMetadata
The metadata info of the scanner adapter
Trait Implementations§
Source§impl Clone for ScannerAdapterMetadata
impl Clone for ScannerAdapterMetadata
Source§fn clone(&self) -> ScannerAdapterMetadata
fn clone(&self) -> ScannerAdapterMetadata
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 ScannerAdapterMetadata
impl Debug for ScannerAdapterMetadata
Source§impl Default for ScannerAdapterMetadata
impl Default for ScannerAdapterMetadata
Source§fn default() -> ScannerAdapterMetadata
fn default() -> ScannerAdapterMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScannerAdapterMetadata
impl<'de> Deserialize<'de> for ScannerAdapterMetadata
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 PartialEq for ScannerAdapterMetadata
impl PartialEq for ScannerAdapterMetadata
Source§impl Serialize for ScannerAdapterMetadata
impl Serialize for ScannerAdapterMetadata
impl StructuralPartialEq for ScannerAdapterMetadata
Auto Trait Implementations§
impl Freeze for ScannerAdapterMetadata
impl RefUnwindSafe for ScannerAdapterMetadata
impl Send for ScannerAdapterMetadata
impl Sync for ScannerAdapterMetadata
impl Unpin for ScannerAdapterMetadata
impl UnwindSafe for ScannerAdapterMetadata
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