pub struct InstrumentConfig {
pub name: String,
pub kind: String,
pub address: Option<String>,
pub params: Table,
}Expand description
A bench instrument. Drivers are matched on kind by the suite.
Fields§
§name: String§kind: StringDriver key, e.g. “rcdat”, “scpi”.
address: Option<String>Free-form address: host:port, VISA resource, hidraw path…
params: TableDriver-specific settings, passed through untouched.
Trait Implementations§
Source§impl Clone for InstrumentConfig
impl Clone for InstrumentConfig
Source§fn clone(&self) -> InstrumentConfig
fn clone(&self) -> InstrumentConfig
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 InstrumentConfig
impl Debug for InstrumentConfig
Source§impl<'de> Deserialize<'de> for InstrumentConfig
impl<'de> Deserialize<'de> for InstrumentConfig
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
Auto Trait Implementations§
impl Freeze for InstrumentConfig
impl RefUnwindSafe for InstrumentConfig
impl Send for InstrumentConfig
impl Sync for InstrumentConfig
impl Unpin for InstrumentConfig
impl UnsafeUnpin for InstrumentConfig
impl UnwindSafe for InstrumentConfig
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