pub struct ProviderAuctionRequest { /* private fields */ }
Expand description
A request to locate a suitable host for a capability provider.
The provider’s unique identity is used to rule out hosts on which the provider is already running.
Implementations§
source§impl ProviderAuctionRequest
impl ProviderAuctionRequest
sourcepub fn provider_ref(&self) -> &str
pub fn provider_ref(&self) -> &str
Get the provider ref for the auction request
sourcepub fn provider_id(&self) -> &str
pub fn provider_id(&self) -> &str
Get the provider ID for the auction request
sourcepub fn constraints(&self) -> &BTreeMap<String, String>
pub fn constraints(&self) -> &BTreeMap<String, String>
Get the constraints acknowledged by the auction request
sourcepub fn builder() -> ProviderAuctionRequestBuilder
pub fn builder() -> ProviderAuctionRequestBuilder
Build a new ProviderAuctionRequest
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 for ProviderAuctionRequest
impl PartialEq for ProviderAuctionRequest
source§impl Serialize for ProviderAuctionRequest
impl Serialize for ProviderAuctionRequest
impl Eq for ProviderAuctionRequest
impl StructuralPartialEq for ProviderAuctionRequest
Auto Trait Implementations§
impl Freeze for ProviderAuctionRequest
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.