pub struct ComposeEvent {
pub time: String,
pub event_type: String,
pub action: String,
pub service: Option<String>,
pub container: Option<String>,
pub attributes: Option<Value>,
}
Expand description
Event from Docker Compose
Fields§
§time: String
Time of the event
event_type: String
Type of the event
action: String
Action that occurred
service: Option<String>
Service name
container: Option<String>
Container ID
attributes: Option<Value>
Additional attributes
Trait Implementations§
Source§impl Clone for ComposeEvent
impl Clone for ComposeEvent
Source§fn clone(&self) -> ComposeEvent
fn clone(&self) -> ComposeEvent
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 ComposeEvent
impl Debug for ComposeEvent
Source§impl<'de> Deserialize<'de> for ComposeEvent
impl<'de> Deserialize<'de> for ComposeEvent
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 ComposeEvent
impl RefUnwindSafe for ComposeEvent
impl Send for ComposeEvent
impl Sync for ComposeEvent
impl Unpin for ComposeEvent
impl UnwindSafe for ComposeEvent
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