pub struct AgentSchedulerWorkersInfoBuilder { /* private fields */ }
Expand description
Builder for AgentSchedulerWorkersInfo
.
Implementations§
Source§impl AgentSchedulerWorkersInfoBuilder
impl AgentSchedulerWorkersInfoBuilder
pub fn server_id(&mut self, value: String) -> &mut Self
pub fn schedulers(&mut self, value: Vec<AgentSchedulerWorkerInfo>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AgentSchedulerWorkersInfo, AgentSchedulerWorkersInfoBuilderError>
pub fn build( &self, ) -> Result<AgentSchedulerWorkersInfo, AgentSchedulerWorkersInfoBuilderError>
Trait Implementations§
Source§impl Clone for AgentSchedulerWorkersInfoBuilder
impl Clone for AgentSchedulerWorkersInfoBuilder
Source§fn clone(&self) -> AgentSchedulerWorkersInfoBuilder
fn clone(&self) -> AgentSchedulerWorkersInfoBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for AgentSchedulerWorkersInfoBuilder
impl RefUnwindSafe for AgentSchedulerWorkersInfoBuilder
impl Send for AgentSchedulerWorkersInfoBuilder
impl Sync for AgentSchedulerWorkersInfoBuilder
impl Unpin for AgentSchedulerWorkersInfoBuilder
impl UnwindSafe for AgentSchedulerWorkersInfoBuilder
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