pub struct TranslateNativeQuilToEncryptedBinaryRequest {
pub num_shots: i32,
pub quil: String,
pub settings_timestamp: Option<String>,
}Fields§
§num_shots: i32Number of iterations to execute on the control hardware
quil: StringThe native Quil program to be translated for execution
settings_timestamp: Option<String>ISO8601 timestamp of the latest settings to be used in translation. If omitted, latest settings will be used.
Implementations§
Source§impl TranslateNativeQuilToEncryptedBinaryRequest
impl TranslateNativeQuilToEncryptedBinaryRequest
pub fn new( num_shots: i32, quil: String, ) -> TranslateNativeQuilToEncryptedBinaryRequest
Trait Implementations§
Source§impl Clone for TranslateNativeQuilToEncryptedBinaryRequest
impl Clone for TranslateNativeQuilToEncryptedBinaryRequest
Source§fn clone(&self) -> TranslateNativeQuilToEncryptedBinaryRequest
fn clone(&self) -> TranslateNativeQuilToEncryptedBinaryRequest
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 Default for TranslateNativeQuilToEncryptedBinaryRequest
impl Default for TranslateNativeQuilToEncryptedBinaryRequest
Source§fn default() -> TranslateNativeQuilToEncryptedBinaryRequest
fn default() -> TranslateNativeQuilToEncryptedBinaryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranslateNativeQuilToEncryptedBinaryRequest
impl<'de> Deserialize<'de> for TranslateNativeQuilToEncryptedBinaryRequest
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 TranslateNativeQuilToEncryptedBinaryRequest
impl PartialEq for TranslateNativeQuilToEncryptedBinaryRequest
Source§fn eq(&self, other: &TranslateNativeQuilToEncryptedBinaryRequest) -> bool
fn eq(&self, other: &TranslateNativeQuilToEncryptedBinaryRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranslateNativeQuilToEncryptedBinaryRequest
Auto Trait Implementations§
impl Freeze for TranslateNativeQuilToEncryptedBinaryRequest
impl RefUnwindSafe for TranslateNativeQuilToEncryptedBinaryRequest
impl Send for TranslateNativeQuilToEncryptedBinaryRequest
impl Sync for TranslateNativeQuilToEncryptedBinaryRequest
impl Unpin for TranslateNativeQuilToEncryptedBinaryRequest
impl UnwindSafe for TranslateNativeQuilToEncryptedBinaryRequest
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