Struct k8s_openapi::api::events::v1::EventSeries
source · [−]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
sourceimpl Clone for EventSeries
impl Clone for EventSeries
sourcefn clone(&self) -> EventSeries
fn clone(&self) -> EventSeries
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EventSeries
impl Debug for EventSeries
sourceimpl<'de> Deserialize<'de> for EventSeries
impl<'de> Deserialize<'de> for EventSeries
sourcefn 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
sourceimpl PartialEq<EventSeries> for EventSeries
impl PartialEq<EventSeries> for EventSeries
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &EventSeries) -> bool
fn ne(&self, other: &EventSeries) -> bool
This method tests for !=
.
sourceimpl Serialize for EventSeries
impl Serialize for EventSeries
impl StructuralPartialEq for EventSeries
Auto Trait Implementations
impl RefUnwindSafe for EventSeries
impl Send for EventSeries
impl Sync for EventSeries
impl Unpin for EventSeries
impl UnwindSafe for EventSeries
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more