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§
source§impl CreateEndpointParameters
impl CreateEndpointParameters
sourcepub fn new() -> CreateEndpointParameters
pub fn new() -> CreateEndpointParameters
A publicly available set of parameters for defining an endpoint.
Trait Implementations§
source§impl Clone for CreateEndpointParameters
impl Clone for CreateEndpointParameters
source§fn clone(&self) -> CreateEndpointParameters
fn clone(&self) -> CreateEndpointParameters
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 CreateEndpointParameters
impl Debug for CreateEndpointParameters
source§impl Default for CreateEndpointParameters
impl Default for CreateEndpointParameters
source§fn default() -> CreateEndpointParameters
fn default() -> CreateEndpointParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateEndpointParameters
impl<'de> Deserialize<'de> for CreateEndpointParameters
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<CreateEndpointParameters> for CreateEndpointParameters
impl PartialEq<CreateEndpointParameters> for CreateEndpointParameters
source§fn eq(&self, other: &CreateEndpointParameters) -> bool
fn eq(&self, other: &CreateEndpointParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl 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§
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