Struct k8s_openapi::api::events::v1::EventSeries
source · pub struct EventSeries {
pub count: i32,
pub last_observed_time: MicroTime,
}
Expand description
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in “k8s.io/client-go/tools/events/event_broadcaster.go” shows how this struct is updated on heartbeats and can guide customized reporter implementations.
Fields§
§count: i32
count is the number of occurrences in this series up to the last heartbeat time.
last_observed_time: MicroTime
lastObservedTime is the time when last Event from the series was seen before last heartbeat.
Trait Implementations§
source§impl Clone for EventSeries
impl Clone for EventSeries
source§fn clone(&self) -> EventSeries
fn clone(&self) -> EventSeries
Returns a copy 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 EventSeries
impl Debug for EventSeries
source§impl DeepMerge for EventSeries
impl DeepMerge for EventSeries
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl<'de> Deserialize<'de> for EventSeries
impl<'de> Deserialize<'de> for EventSeries
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 EventSeries
impl PartialEq for EventSeries
source§fn eq(&self, other: &EventSeries) -> bool
fn eq(&self, other: &EventSeries) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventSeries
impl Serialize for EventSeries
impl StructuralPartialEq for EventSeries
Auto Trait Implementations§
impl Freeze for EventSeries
impl RefUnwindSafe for EventSeries
impl Send for EventSeries
impl Sync for EventSeries
impl Unpin for EventSeries
impl UnwindSafe for EventSeries
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