pub struct CreateEngagementRequest {
pub account_id: Option<String>,
pub account_type: Option<Box<AccountType>>,
pub endpoint_id: Option<String>,
pub quantum_processor_id: Option<String>,
pub tags: Option<Vec<String>>,
}Fields§
§account_id: Option<String>Either the client’s user ID or the name of a group on behalf of which the client wishes to engage. This value will override any values set in the headers.
account_type: Option<Box<AccountType>>Indicates whether the engagement request should be made for the user or on behalf of a group. This value will override any values set in the headers.
endpoint_id: Option<String>Unique, opaque identifier for the endpoint
quantum_processor_id: Option<String>Public identifier for a quantum processor [example: Aspen-1]
Tags recorded on QPU requests, which reporting services may later use for querying usage records.
Implementations§
source§impl CreateEngagementRequest
impl CreateEngagementRequest
pub fn new() -> CreateEngagementRequest
Trait Implementations§
source§impl Clone for CreateEngagementRequest
impl Clone for CreateEngagementRequest
source§fn clone(&self) -> CreateEngagementRequest
fn clone(&self) -> CreateEngagementRequest
Returns a copy 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 CreateEngagementRequest
impl Debug for CreateEngagementRequest
source§impl Default for CreateEngagementRequest
impl Default for CreateEngagementRequest
source§fn default() -> CreateEngagementRequest
fn default() -> CreateEngagementRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateEngagementRequest
impl<'de> Deserialize<'de> for CreateEngagementRequest
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<CreateEngagementRequest> for CreateEngagementRequest
impl PartialEq<CreateEngagementRequest> for CreateEngagementRequest
source§fn eq(&self, other: &CreateEngagementRequest) -> bool
fn eq(&self, other: &CreateEngagementRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.