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§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