pub struct HardwareResult {
pub counts: HashMap<Vec<bool>, usize>,
pub shots: u32,
pub execution_time_ms: u64,
pub device_name: String,
}Expand description
Results returned after a hardware job completes.
Fields§
§counts: HashMap<Vec<bool>, usize>§shots: u32§execution_time_ms: u64§device_name: StringTrait Implementations§
Source§impl Clone for HardwareResult
impl Clone for HardwareResult
Source§fn clone(&self) -> HardwareResult
fn clone(&self) -> HardwareResult
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 moreAuto Trait Implementations§
impl Freeze for HardwareResult
impl RefUnwindSafe for HardwareResult
impl Send for HardwareResult
impl Sync for HardwareResult
impl Unpin for HardwareResult
impl UnsafeUnpin for HardwareResult
impl UnwindSafe for HardwareResult
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