pub struct ProviderAuctionRequest {
pub constraints: ConstraintMap,
pub lattice_id: String,
pub link_name: String,
pub provider_ref: String,
}
Expand description
A request to locate a suitable host for a capability provider. The provider’s unique identity (reference + link name) is used to rule out sites on which the provider is already running.
Fields§
§constraints: ConstraintMap
The set of constraints to which a suitable target host must conform
lattice_id: String
The ID of the lattice on which this request will be performed
link_name: String
The link name of the provider
provider_ref: String
The reference for the provider. Can be any one of the accepted forms of uniquely identifying a provider
Trait Implementations§
source§impl Clone for ProviderAuctionRequest
impl Clone for ProviderAuctionRequest
source§fn clone(&self) -> ProviderAuctionRequest
fn clone(&self) -> ProviderAuctionRequest
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 ProviderAuctionRequest
impl Debug for ProviderAuctionRequest
source§impl Default for ProviderAuctionRequest
impl Default for ProviderAuctionRequest
source§fn default() -> ProviderAuctionRequest
fn default() -> ProviderAuctionRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProviderAuctionRequest
impl<'de> Deserialize<'de> for ProviderAuctionRequest
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<ProviderAuctionRequest> for ProviderAuctionRequest
impl PartialEq<ProviderAuctionRequest> for ProviderAuctionRequest
source§fn eq(&self, other: &ProviderAuctionRequest) -> bool
fn eq(&self, other: &ProviderAuctionRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ProviderAuctionRequest
impl Serialize for ProviderAuctionRequest
impl Eq for ProviderAuctionRequest
impl StructuralEq for ProviderAuctionRequest
impl StructuralPartialEq for ProviderAuctionRequest
Auto Trait Implementations§
impl RefUnwindSafe for ProviderAuctionRequest
impl Send for ProviderAuctionRequest
impl Sync for ProviderAuctionRequest
impl Unpin for ProviderAuctionRequest
impl UnwindSafe for ProviderAuctionRequest
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.