pub struct HostPortCard {
pub service: ServiceId,
pub limits: Vec<DeclaredLimit>,
pub provenance: SanitizedProvenance,
}Expand description
Dependency-light descriptive data published by a host port.
Fields§
§service: ServiceIdStable service identity offered by this port.
limits: Vec<DeclaredLimit>Mechanical resource limits declared by the provider.
provenance: SanitizedProvenanceSanitized provider provenance; credentials and host details never belong here.
Trait Implementations§
Source§impl Clone for HostPortCard
impl Clone for HostPortCard
Source§fn clone(&self) -> HostPortCard
fn clone(&self) -> HostPortCard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HostPortCard
impl Debug for HostPortCard
impl Eq for HostPortCard
Source§impl PartialEq for HostPortCard
impl PartialEq for HostPortCard
impl StructuralPartialEq for HostPortCard
Auto Trait Implementations§
impl Freeze for HostPortCard
impl RefUnwindSafe for HostPortCard
impl Send for HostPortCard
impl Sync for HostPortCard
impl Unpin for HostPortCard
impl UnsafeUnpin for HostPortCard
impl UnwindSafe for HostPortCard
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