#[non_exhaustive]pub struct TimeBasedCollectionScheme {
pub period_ms: i64,
}
Expand description
Information about a collection scheme that uses a time period to decide how often to collect data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.period_ms: i64
The time period (in milliseconds) to decide how often to collect data. For example, if the time period is 60000
, the Edge Agent software collects data once every minute.
Implementations§
source§impl TimeBasedCollectionScheme
impl TimeBasedCollectionScheme
sourcepub fn builder() -> TimeBasedCollectionSchemeBuilder
pub fn builder() -> TimeBasedCollectionSchemeBuilder
Creates a new builder-style object to manufacture TimeBasedCollectionScheme
.
Trait Implementations§
source§impl Clone for TimeBasedCollectionScheme
impl Clone for TimeBasedCollectionScheme
source§fn clone(&self) -> TimeBasedCollectionScheme
fn clone(&self) -> TimeBasedCollectionScheme
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 TimeBasedCollectionScheme
impl Debug for TimeBasedCollectionScheme
source§impl PartialEq for TimeBasedCollectionScheme
impl PartialEq for TimeBasedCollectionScheme
source§fn eq(&self, other: &TimeBasedCollectionScheme) -> bool
fn eq(&self, other: &TimeBasedCollectionScheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeBasedCollectionScheme
Auto Trait Implementations§
impl RefUnwindSafe for TimeBasedCollectionScheme
impl Send for TimeBasedCollectionScheme
impl Sync for TimeBasedCollectionScheme
impl Unpin for TimeBasedCollectionScheme
impl UnwindSafe for TimeBasedCollectionScheme
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.