pub struct DockerEvent {
pub event_type: String,
pub action: String,
pub actor: EventActor,
pub time: i64,
pub time_nano: i64,
}
Expand description
Docker event information
Fields§
§event_type: String
Event type (container, image, volume, network, etc.)
action: String
Action performed (start, stop, create, destroy, etc.)
actor: EventActor
Actor (object that performed the action)
time: i64
Timestamp of the event
time_nano: i64
Nanosecond timestamp
Trait Implementations§
Source§impl Clone for DockerEvent
impl Clone for DockerEvent
Source§fn clone(&self) -> DockerEvent
fn clone(&self) -> DockerEvent
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 DockerEvent
impl Debug for DockerEvent
Source§impl<'de> Deserialize<'de> for DockerEvent
impl<'de> Deserialize<'de> for DockerEvent
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 DockerEvent
impl RefUnwindSafe for DockerEvent
impl Send for DockerEvent
impl Sync for DockerEvent
impl Unpin for DockerEvent
impl UnwindSafe for DockerEvent
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