pub struct AgentHealthResponseBuilder { /* private fields */ }
Expand description
Builder for AgentHealthResponse
.
Implementations§
Source§impl AgentHealthResponseBuilder
impl AgentHealthResponseBuilder
pub fn client(&mut self, value: Option<AgentHealth>) -> &mut Self
pub fn server(&mut self, value: Option<AgentHealth>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AgentHealthResponse, AgentHealthResponseBuilderError>
pub fn build( &self, ) -> Result<AgentHealthResponse, AgentHealthResponseBuilderError>
Trait Implementations§
Source§impl Clone for AgentHealthResponseBuilder
impl Clone for AgentHealthResponseBuilder
Source§fn clone(&self) -> AgentHealthResponseBuilder
fn clone(&self) -> AgentHealthResponseBuilder
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 AgentHealthResponseBuilder
impl RefUnwindSafe for AgentHealthResponseBuilder
impl Send for AgentHealthResponseBuilder
impl Sync for AgentHealthResponseBuilder
impl Unpin for AgentHealthResponseBuilder
impl UnwindSafe for AgentHealthResponseBuilder
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