#[non_exhaustive]pub struct BoardAccount {Show 15 fields
pub pool: String,
pub account: String,
pub handler: String,
pub kind: String,
pub priority: i64,
pub max_concurrent: Option<usize>,
pub labels: BTreeMap<String, String>,
pub active: Vec<BoardClaim>,
pub other_runs: usize,
pub windows: Vec<BoardWindow>,
pub limited_until: Option<f64>,
pub last_used: Option<f64>,
pub tokens_today: u64,
pub login: Option<BoardLogin>,
pub usage_read: Option<BoardUsageRead>,
}Expand description
One pool account on the board.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pool: StringThe pool ID.
account: StringThe account’s name in the pool.
handler: StringThe AgentHandler the pool serves.
kind: StringHow the harness reads its credential (claude-oauth-token, …).
priority: i64Its priority.
max_concurrent: Option<usize>The most Runs that may use it at once.
labels: BTreeMap<String, String>Labels configured for it.
active: Vec<BoardClaim>This Operation’s Runs using it now.
other_runs: usizeHow many Runs of other Operations use it now: who they are is theirs to see.
windows: Vec<BoardWindow>The quota windows last reported.
limited_until: Option<f64>Until when its provider refuses work, as Unix seconds, while it does.
last_used: Option<f64>When a Run last took it, as Unix seconds.
tokens_today: u64Tokens its Runs used today (UTC).
login: Option<BoardLogin>Its login, when one is kept sealed in the Registry.
usage_read: Option<BoardUsageRead>The last request that its usage be read now, when a person made one.
Trait Implementations§
Source§impl Clone for BoardAccount
impl Clone for BoardAccount
Source§impl Debug for BoardAccount
impl Debug for BoardAccount
Source§impl PartialEq for BoardAccount
impl PartialEq for BoardAccount
Source§impl Serialize for BoardAccount
impl Serialize for BoardAccount
impl StructuralPartialEq for BoardAccount
Auto Trait Implementations§
impl Freeze for BoardAccount
impl RefUnwindSafe for BoardAccount
impl Send for BoardAccount
impl Sync for BoardAccount
impl Unpin for BoardAccount
impl UnsafeUnpin for BoardAccount
impl UnwindSafe for BoardAccount
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.