pub struct Endpoint {
pub address: String,
pub addresses: Box<EndpointAddresses>,
pub datacenter: Option<String>,
pub healthy: bool,
pub id: String,
pub mock: bool,
pub quantum_processor_ids: Option<Vec<String>>,
}Expand description
Endpoint : An Endpoint is the entry point for remote access to a QuantumProcessor.
Fields§
§address: StringNetwork address at which the endpoint is locally reachable
addresses: Box<EndpointAddresses>§datacenter: Option<String>Datacenter within which the endpoint is deployed
healthy: boolWhether the endpoint is operating as intended
id: StringUnique, opaque identifier for the endpoint
mock: boolWhether the endpoint serves simulated or substituted data for testing purposes
quantum_processor_ids: Option<Vec<String>>Public identifiers for quantum processors served by this endpoint.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoint
impl<'de> Deserialize<'de> for Endpoint
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
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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