pub struct AccountLoadingRow {
pub display_name: String,
pub state: LoadingState,
pub last_error: Option<UsageFetchStatus>,
pub retry_after: Option<Duration>,
pub auth: AccountAuth,
pub at_cap: bool,
pub cooling: bool,
}Expand description
One account’s place in preflight: what it is called, how far it has got, and how it authenticates.
Fields§
§display_name: Stringforge.toml [[accounts]] display name.
state: LoadingState§last_error: Option<UsageFetchStatus>The classified outcome of the last failed probe attempt. What
lets a bailed row say unreachable when the endpoint is simply
down rather than auth failed.
retry_after: Option<Duration>Remaining hold-down before the pollers re-probe a failed
account - the server Retry-After for a 429, the exponential
schedule otherwise. None when nothing is scheduled.
auth: AccountAuthWhich repair instruction a bailed row earns.
at_cap: boolA cached usage window is at its cap with the reset still ahead, so a spawn would not bind here until then. Carried without the usage: it is the half of the usage that moves selection, and a client comparing two pools needs it to know a frame moved a project row.
cooling: boolThe rotation is holding the account out after a probe wrote a limit. The other selection input a usage move can take with it.
Trait Implementations§
Source§impl Clone for AccountLoadingRow
impl Clone for AccountLoadingRow
Source§impl Debug for AccountLoadingRow
impl Debug for AccountLoadingRow
Source§impl<'de> Deserialize<'de> for AccountLoadingRow
impl<'de> Deserialize<'de> for AccountLoadingRow
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>,
impl Eq for AccountLoadingRow
Source§impl PartialEq for AccountLoadingRow
impl PartialEq for AccountLoadingRow
Source§impl Serialize for AccountLoadingRow
impl Serialize for AccountLoadingRow
impl StructuralPartialEq for AccountLoadingRow
Auto Trait Implementations§
impl Freeze for AccountLoadingRow
impl RefUnwindSafe for AccountLoadingRow
impl Send for AccountLoadingRow
impl Sync for AccountLoadingRow
impl Unpin for AccountLoadingRow
impl UnsafeUnpin for AccountLoadingRow
impl UnwindSafe for AccountLoadingRow
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more