Struct qcs_api::models::translate_native_quil_to_encrypted_binary_request::TranslateNativeQuilToEncryptedBinaryRequest
source · [−]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
sourceimpl TranslateNativeQuilToEncryptedBinaryRequest
impl TranslateNativeQuilToEncryptedBinaryRequest
pub fn new(
num_shots: i32,
quil: String
) -> TranslateNativeQuilToEncryptedBinaryRequest
Trait Implementations
sourceimpl Clone for TranslateNativeQuilToEncryptedBinaryRequest
impl Clone for TranslateNativeQuilToEncryptedBinaryRequest
sourcefn clone(&self) -> TranslateNativeQuilToEncryptedBinaryRequest
fn clone(&self) -> TranslateNativeQuilToEncryptedBinaryRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for TranslateNativeQuilToEncryptedBinaryRequest
impl Default for TranslateNativeQuilToEncryptedBinaryRequest
sourcefn default() -> TranslateNativeQuilToEncryptedBinaryRequest
fn default() -> TranslateNativeQuilToEncryptedBinaryRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TranslateNativeQuilToEncryptedBinaryRequest
impl<'de> Deserialize<'de> for TranslateNativeQuilToEncryptedBinaryRequest
sourcefn 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
sourceimpl PartialEq<TranslateNativeQuilToEncryptedBinaryRequest> for TranslateNativeQuilToEncryptedBinaryRequest
impl PartialEq<TranslateNativeQuilToEncryptedBinaryRequest> for TranslateNativeQuilToEncryptedBinaryRequest
sourcefn eq(&self, other: &TranslateNativeQuilToEncryptedBinaryRequest) -> bool
fn eq(&self, other: &TranslateNativeQuilToEncryptedBinaryRequest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TranslateNativeQuilToEncryptedBinaryRequest) -> bool
fn ne(&self, other: &TranslateNativeQuilToEncryptedBinaryRequest) -> bool
This method tests for !=.
impl StructuralPartialEq for TranslateNativeQuilToEncryptedBinaryRequest
Auto Trait Implementations
impl RefUnwindSafe for TranslateNativeQuilToEncryptedBinaryRequest
impl Send for TranslateNativeQuilToEncryptedBinaryRequest
impl Sync for TranslateNativeQuilToEncryptedBinaryRequest
impl Unpin for TranslateNativeQuilToEncryptedBinaryRequest
impl UnwindSafe for TranslateNativeQuilToEncryptedBinaryRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more