pub struct AgentWorkStateChange {
pub input_id: String,
pub state: AgentWorkState,
pub reason: String,
pub at: String,
}Expand description
工作状态变化(非告警、非失败):暂停/恢复各上报一次。
Fields§
§input_id: String§state: AgentWorkState§reason: String§at: StringTrait Implementations§
Source§impl Clone for AgentWorkStateChange
impl Clone for AgentWorkStateChange
Source§impl Debug for AgentWorkStateChange
impl Debug for AgentWorkStateChange
Source§impl<'de> Deserialize<'de> for AgentWorkStateChange
impl<'de> Deserialize<'de> for AgentWorkStateChange
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
impl Eq for AgentWorkStateChange
Source§impl PartialEq for AgentWorkStateChange
impl PartialEq for AgentWorkStateChange
Source§impl Serialize for AgentWorkStateChange
impl Serialize for AgentWorkStateChange
impl StructuralPartialEq for AgentWorkStateChange
Auto Trait Implementations§
impl Freeze for AgentWorkStateChange
impl RefUnwindSafe for AgentWorkStateChange
impl Send for AgentWorkStateChange
impl Sync for AgentWorkStateChange
impl Unpin for AgentWorkStateChange
impl UnsafeUnpin for AgentWorkStateChange
impl UnwindSafe for AgentWorkStateChange
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