pub struct AgentSchedulerWorkerInfoBuilder { /* private fields */ }
Expand description
Builder for AgentSchedulerWorkerInfo
.
Implementations§
Source§impl AgentSchedulerWorkerInfoBuilder
impl AgentSchedulerWorkerInfoBuilder
pub fn id(&mut self, value: String) -> &mut Self
pub fn enabled_schedulers(&mut self, value: Vec<String>) -> &mut Self
pub fn started(&mut self, value: String) -> &mut Self
pub fn status(&mut self, value: String) -> &mut Self
pub fn workload_status(&mut self, value: String) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AgentSchedulerWorkerInfo, AgentSchedulerWorkerInfoBuilderError>
pub fn build( &self, ) -> Result<AgentSchedulerWorkerInfo, AgentSchedulerWorkerInfoBuilderError>
Trait Implementations§
Source§impl Clone for AgentSchedulerWorkerInfoBuilder
impl Clone for AgentSchedulerWorkerInfoBuilder
Source§fn clone(&self) -> AgentSchedulerWorkerInfoBuilder
fn clone(&self) -> AgentSchedulerWorkerInfoBuilder
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 moreAuto Trait Implementations§
impl Freeze for AgentSchedulerWorkerInfoBuilder
impl RefUnwindSafe for AgentSchedulerWorkerInfoBuilder
impl Send for AgentSchedulerWorkerInfoBuilder
impl Sync for AgentSchedulerWorkerInfoBuilder
impl Unpin for AgentSchedulerWorkerInfoBuilder
impl UnwindSafe for AgentSchedulerWorkerInfoBuilder
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