pub struct ComponentAuctionRequest {
pub component_ref: String,
pub component_id: ComponentId,
pub constraints: HashMap<String, String>,
}Expand description
A request to locate suitable hosts for a given component
Fields§
§component_ref: StringThe image reference, file or OCI, for this component.
component_id: ComponentIdThe unique identifier to be used for this component. The host will ensure that no other component with the same ID is running on the host
constraints: HashMap<String, String>The set of constraints that must match the labels of a suitable target host
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§fn eq(&self, other: &ComponentAuctionRequest) -> bool
fn eq(&self, other: &ComponentAuctionRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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<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.