#[non_exhaustive]pub struct ComponentAuctionAck { /* private fields */ }
Expand description
A host response to a request to start a component.
This acknowledgement confirms that the host has enough capacity to start the component
Implementations§
source§impl ComponentAuctionAck
impl ComponentAuctionAck
pub fn from_component_host_and_constraints( component_ref: &str, component_id: &str, host_id: &str, constraints: impl Into<BTreeMap<String, String>>, ) -> Self
sourcepub fn component_ref(&self) -> &str
pub fn component_ref(&self) -> &str
Get the component ref for the auction acknowledgement
sourcepub fn component_id(&self) -> &str
pub fn component_id(&self) -> &str
Get the component ID for the auction acknowledgement
sourcepub fn constraints(&self) -> &BTreeMap<String, String>
pub fn constraints(&self) -> &BTreeMap<String, String>
Get the constraints acknowledged by the auction acknowledgement
pub fn builder() -> ComponentAuctionAckBuilder
Trait Implementations§
source§impl Clone for ComponentAuctionAck
impl Clone for ComponentAuctionAck
source§fn clone(&self) -> ComponentAuctionAck
fn clone(&self) -> ComponentAuctionAck
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 ComponentAuctionAck
impl Debug for ComponentAuctionAck
source§impl Default for ComponentAuctionAck
impl Default for ComponentAuctionAck
source§fn default() -> ComponentAuctionAck
fn default() -> ComponentAuctionAck
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ComponentAuctionAck
impl<'de> Deserialize<'de> for ComponentAuctionAck
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 ComponentAuctionAck
impl PartialEq for ComponentAuctionAck
source§impl Serialize for ComponentAuctionAck
impl Serialize for ComponentAuctionAck
impl Eq for ComponentAuctionAck
impl StructuralPartialEq for ComponentAuctionAck
Auto Trait Implementations§
impl Freeze for ComponentAuctionAck
impl RefUnwindSafe for ComponentAuctionAck
impl Send for ComponentAuctionAck
impl Sync for ComponentAuctionAck
impl Unpin for ComponentAuctionAck
impl UnwindSafe for ComponentAuctionAck
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.