pub struct AgentLabelsConfig {
pub running: String,
pub waiting: String,
pub idle: String,
pub unknown: String,
}Expand description
Label text for each agent state shown in the branch picker.
[agent.labels]
running = "[RUNNING]"
waiting = "[WAITING]"
idle = "[IDLE]"
unknown = "[UNKNOWN]"Fields§
§running: String§waiting: String§idle: String§unknown: StringImplementations§
Source§impl AgentLabelsConfig
impl AgentLabelsConfig
Sourcepub fn max_label_width(&self) -> usize
pub fn max_label_width(&self) -> usize
Maximum char count across all labels (for fixed-width column padding).
Trait Implementations§
Source§impl Clone for AgentLabelsConfig
impl Clone for AgentLabelsConfig
Source§fn clone(&self) -> AgentLabelsConfig
fn clone(&self) -> AgentLabelsConfig
Returns a duplicate 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 AgentLabelsConfig
impl Debug for AgentLabelsConfig
Source§impl Default for AgentLabelsConfig
impl Default for AgentLabelsConfig
Source§impl<'de> Deserialize<'de> for AgentLabelsConfigwhere
AgentLabelsConfig: Default,
impl<'de> Deserialize<'de> for AgentLabelsConfigwhere
AgentLabelsConfig: Default,
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
Auto Trait Implementations§
impl Freeze for AgentLabelsConfig
impl RefUnwindSafe for AgentLabelsConfig
impl Send for AgentLabelsConfig
impl Sync for AgentLabelsConfig
impl Unpin for AgentLabelsConfig
impl UnsafeUnpin for AgentLabelsConfig
impl UnwindSafe for AgentLabelsConfig
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