Struct qcs_api_client_openapi::models::create_endpoint_parameters::CreateEndpointParameters
source · [−]pub struct CreateEndpointParameters {
pub datacenters: Option<Vec<NomadJobDatacenters>>,
pub quantum_processor_ids: Option<Vec<String>>,
}Fields
datacenters: Option<Vec<NomadJobDatacenters>>Which datacenters are available for endpoint placement. Defaults to berkeley-775
quantum_processor_ids: Option<Vec<String>>Public identifiers for quantum processors served by this endpoint.
Implementations
sourceimpl CreateEndpointParameters
impl CreateEndpointParameters
sourcepub fn new() -> CreateEndpointParameters
pub fn new() -> CreateEndpointParameters
A publicly available set of parameters for defining an endpoint.
Trait Implementations
sourceimpl Clone for CreateEndpointParameters
impl Clone for CreateEndpointParameters
sourcefn clone(&self) -> CreateEndpointParameters
fn clone(&self) -> CreateEndpointParameters
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 moresourceimpl Debug for CreateEndpointParameters
impl Debug for CreateEndpointParameters
sourceimpl Default for CreateEndpointParameters
impl Default for CreateEndpointParameters
sourcefn default() -> CreateEndpointParameters
fn default() -> CreateEndpointParameters
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CreateEndpointParameters
impl<'de> Deserialize<'de> for CreateEndpointParameters
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<CreateEndpointParameters> for CreateEndpointParameters
impl PartialEq<CreateEndpointParameters> for CreateEndpointParameters
sourcefn eq(&self, other: &CreateEndpointParameters) -> bool
fn eq(&self, other: &CreateEndpointParameters) -> bool
sourceimpl Serialize for CreateEndpointParameters
impl Serialize for CreateEndpointParameters
impl StructuralPartialEq for CreateEndpointParameters
Auto Trait Implementations
impl RefUnwindSafe for CreateEndpointParameters
impl Send for CreateEndpointParameters
impl Sync for CreateEndpointParameters
impl Unpin for CreateEndpointParameters
impl UnwindSafe for CreateEndpointParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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