pub struct PreflightDurationEstimate {
pub registry_profile: String,
pub first_publish_count: usize,
pub update_count: usize,
pub minimum_registry_pacing: Duration,
pub notes: Vec<String>,
}Expand description
Registry pacing estimate derived during preflight.
This is deliberately a lower-bound pacing estimate, not a full wall-clock release prediction. It excludes build time, upload time, readiness polling, network failures, human pauses, and retry jitter.
Fields§
§registry_profile: StringRegistry profile that produced the estimate.
first_publish_count: usizePackages that appear to be first publishes for this registry.
update_count: usizePackages that appear to be version updates for this registry.
minimum_registry_pacing: DurationMinimum registry-imposed pacing time expected before all publishes can be accepted.
notes: Vec<String>Human/agent-readable caveats for what this estimate excludes.
Trait Implementations§
Source§impl Clone for PreflightDurationEstimate
impl Clone for PreflightDurationEstimate
Source§fn clone(&self) -> PreflightDurationEstimate
fn clone(&self) -> PreflightDurationEstimate
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 PreflightDurationEstimate
impl Debug for PreflightDurationEstimate
Source§impl<'de> Deserialize<'de> for PreflightDurationEstimate
impl<'de> Deserialize<'de> for PreflightDurationEstimate
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 PreflightDurationEstimate
impl PartialEq for PreflightDurationEstimate
Source§fn eq(&self, other: &PreflightDurationEstimate) -> bool
fn eq(&self, other: &PreflightDurationEstimate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PreflightDurationEstimate
impl StructuralPartialEq for PreflightDurationEstimate
Auto Trait Implementations§
impl Freeze for PreflightDurationEstimate
impl RefUnwindSafe for PreflightDurationEstimate
impl Send for PreflightDurationEstimate
impl Sync for PreflightDurationEstimate
impl Unpin for PreflightDurationEstimate
impl UnsafeUnpin for PreflightDurationEstimate
impl UnwindSafe for PreflightDurationEstimate
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§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.