pub struct TeamConfig {
pub id: String,
pub member: String,
pub source: ManifestSource,
pub accept: bool,
pub max_depth: u32,
pub max_concurrent: u32,
pub task_timeout: Duration,
}Expand description
This bot’s settings for one team ([teams.<id>]).
Fields§
§id: StringTeam id.
member: StringThis bot’s member name.
source: ManifestSourceWhere the manifest is.
accept: boolOther members may delegate to this bot.
max_depth: u32Longest chain accepted.
max_concurrent: u32Inbound tasks at once per caller.
task_timeout: DurationThe longest a task delegated by this bot may take.
Trait Implementations§
Source§impl Clone for TeamConfig
impl Clone for TeamConfig
Auto Trait Implementations§
impl Freeze for TeamConfig
impl RefUnwindSafe for TeamConfig
impl Send for TeamConfig
impl Sync for TeamConfig
impl Unpin for TeamConfig
impl UnsafeUnpin for TeamConfig
impl UnwindSafe for TeamConfig
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