#[non_exhaustive]pub struct ComponentAuctionRequest { /* private fields */ }
Expand description
A request to locate suitable hosts for a given component
Implementations§
source§impl ComponentAuctionRequest
impl ComponentAuctionRequest
sourcepub fn component_ref(&self) -> &str
pub fn component_ref(&self) -> &str
Get the component ref for the auction request
sourcepub fn component_id(&self) -> &str
pub fn component_id(&self) -> &str
Get the component ID for the auction request
sourcepub fn constraints(&self) -> &BTreeMap<String, String>
pub fn constraints(&self) -> &BTreeMap<String, String>
Get the constraints for the auction request
pub fn builder() -> ComponentAuctionRequestBuilder
Trait Implementations§
source§impl Clone for ComponentAuctionRequest
impl Clone for ComponentAuctionRequest
source§fn clone(&self) -> ComponentAuctionRequest
fn clone(&self) -> ComponentAuctionRequest
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 ComponentAuctionRequest
impl Debug for ComponentAuctionRequest
source§impl Default for ComponentAuctionRequest
impl Default for ComponentAuctionRequest
source§fn default() -> ComponentAuctionRequest
fn default() -> ComponentAuctionRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ComponentAuctionRequest
impl<'de> Deserialize<'de> for ComponentAuctionRequest
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 ComponentAuctionRequest
impl PartialEq for ComponentAuctionRequest
source§impl Serialize for ComponentAuctionRequest
impl Serialize for ComponentAuctionRequest
impl Eq for ComponentAuctionRequest
impl StructuralPartialEq for ComponentAuctionRequest
Auto Trait Implementations§
impl Freeze for ComponentAuctionRequest
impl RefUnwindSafe for ComponentAuctionRequest
impl Send for ComponentAuctionRequest
impl Sync for ComponentAuctionRequest
impl Unpin for ComponentAuctionRequest
impl UnwindSafe for ComponentAuctionRequest
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§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.