pub struct AgentWeights {
pub passing: isize,
pub warning: isize,
}
Expand description
AgentWeights represent optional weights for a service
Fields§
§passing: isize
§warning: isize
Trait Implementations§
Source§impl Clone for AgentWeights
impl Clone for AgentWeights
Source§fn clone(&self) -> AgentWeights
fn clone(&self) -> AgentWeights
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 moreSource§impl Debug for AgentWeights
impl Debug for AgentWeights
Source§impl Default for AgentWeights
impl Default for AgentWeights
Source§fn default() -> AgentWeights
fn default() -> AgentWeights
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentWeights
impl<'de> Deserialize<'de> for AgentWeights
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentWeights
impl RefUnwindSafe for AgentWeights
impl Send for AgentWeights
impl Sync for AgentWeights
impl Unpin for AgentWeights
impl UnwindSafe for AgentWeights
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