pub struct EventActor {
pub attributes: Option<HashMap<String, String>>,
pub id: Option<String>,
}
Expand description
Actor describes something that generates events, like a container, network, or a volume.
Fields§
§attributes: Option<HashMap<String, String>>
Various key/value attributes of the object, depending on its type.
id: Option<String>
The ID of the object emitting the event
Trait Implementations§
Source§impl Clone for EventActor
impl Clone for EventActor
Source§fn clone(&self) -> EventActor
fn clone(&self) -> EventActor
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventActor
impl Debug for EventActor
Source§impl<'de> Deserialize<'de> for EventActor
impl<'de> Deserialize<'de> for EventActor
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
Source§impl PartialEq for EventActor
impl PartialEq for EventActor
Source§impl Serialize for EventActor
impl Serialize for EventActor
impl StructuralPartialEq for EventActor
Auto Trait Implementations§
impl Freeze for EventActor
impl RefUnwindSafe for EventActor
impl Send for EventActor
impl Sync for EventActor
impl Unpin for EventActor
impl UnwindSafe for EventActor
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