pub struct AgentServiceChecksInfoBuilder { /* private fields */ }Expand description
Builder for AgentServiceChecksInfo.
Implementations§
Source§impl AgentServiceChecksInfoBuilder
impl AgentServiceChecksInfoBuilder
pub fn aggregated_status<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn checks<VALUE: Into<Vec<HealthCheck>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn service<VALUE: Into<AgentService>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AgentServiceChecksInfo, AgentServiceChecksInfoBuilderError>
pub fn build( &self, ) -> Result<AgentServiceChecksInfo, AgentServiceChecksInfoBuilderError>
Trait Implementations§
Source§impl Clone for AgentServiceChecksInfoBuilder
impl Clone for AgentServiceChecksInfoBuilder
Source§fn clone(&self) -> AgentServiceChecksInfoBuilder
fn clone(&self) -> AgentServiceChecksInfoBuilder
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 AgentServiceChecksInfoBuilder
impl RefUnwindSafe for AgentServiceChecksInfoBuilder
impl Send for AgentServiceChecksInfoBuilder
impl Sync for AgentServiceChecksInfoBuilder
impl Unpin for AgentServiceChecksInfoBuilder
impl UnwindSafe for AgentServiceChecksInfoBuilder
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