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 JsonSchema for EventSeries
impl JsonSchema for EventSeries
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)