pub struct BenchmarkEventBatch {
pub events: Vec<BenchmarkEvent>,
}Expand description
Batch payload sent from the host to a benchmark sink plugin.
Fields§
§events: Vec<BenchmarkEvent>Implementations§
Source§impl BenchmarkEventBatch
impl BenchmarkEventBatch
pub fn validate(&self) -> Result<(), BenchmarkSinkError>
Trait Implementations§
Source§impl Clone for BenchmarkEventBatch
impl Clone for BenchmarkEventBatch
Source§fn clone(&self) -> BenchmarkEventBatch
fn clone(&self) -> BenchmarkEventBatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BenchmarkEventBatch
impl Debug for BenchmarkEventBatch
Source§impl Default for BenchmarkEventBatch
impl Default for BenchmarkEventBatch
Source§fn default() -> BenchmarkEventBatch
fn default() -> BenchmarkEventBatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BenchmarkEventBatch
impl<'de> Deserialize<'de> for BenchmarkEventBatch
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
impl Eq for BenchmarkEventBatch
Source§impl PartialEq for BenchmarkEventBatch
impl PartialEq for BenchmarkEventBatch
Source§impl Serialize for BenchmarkEventBatch
impl Serialize for BenchmarkEventBatch
impl StructuralPartialEq for BenchmarkEventBatch
Auto Trait Implementations§
impl Freeze for BenchmarkEventBatch
impl RefUnwindSafe for BenchmarkEventBatch
impl Send for BenchmarkEventBatch
impl Sync for BenchmarkEventBatch
impl Unpin for BenchmarkEventBatch
impl UnsafeUnpin for BenchmarkEventBatch
impl UnwindSafe for BenchmarkEventBatch
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