pub struct ActionEvent {
pub id: String,
pub metadata: EventMetadata,
pub action_type: String,
pub target: String,
pub success: bool,
}Expand description
실행된 액션 이벤트 (컨테이너 격리 등)
알림에 대한 대응 조치가 실행되었을 때 생성됩니다.
Fields§
§id: String이벤트 고유 ID
metadata: EventMetadata이벤트 메타데이터
action_type: String액션 타입 (예: “container_isolate”, “block_ip”)
target: String대상 (예: 컨테이너 ID, IP 주소)
success: bool성공 여부
Implementations§
Source§impl ActionEvent
impl ActionEvent
Trait Implementations§
Source§impl Clone for ActionEvent
impl Clone for ActionEvent
Source§fn clone(&self) -> ActionEvent
fn clone(&self) -> ActionEvent
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 ActionEvent
impl Debug for ActionEvent
Source§impl Display for ActionEvent
impl Display for ActionEvent
Auto Trait Implementations§
impl Freeze for ActionEvent
impl RefUnwindSafe for ActionEvent
impl Send for ActionEvent
impl Sync for ActionEvent
impl Unpin for ActionEvent
impl UnwindSafe for ActionEvent
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