pub struct Cell {
pub id: String,
pub record_bytes: u32,
pub payload: Payload,
pub compression: String,
pub partitions: u32,
pub records: u64,
pub rate: Option<u64>,
pub idle_seconds: u32,
pub timeout_seconds: u32,
pub budgeted: Vec<Metric>,
}Expand description
One workload in the matrix.
Fields§
§id: StringStable identifier, also the trial directory name: [a-z0-9-]+.
record_bytes: u32Bytes per record value.
payload: PayloadHow the values are filled.
compression: StringThe producer’s compression.type.
partitions: u32Partitions of the cell’s fresh topic.
records: u64Records every trial must produce and consume.
rate: Option<u64>Requested records per second, or None to saturate.
idle_seconds: u32Seconds the subscribed consumer idles before the first record is sent.
timeout_seconds: u32Seconds the workload may run before it fails.
budgeted: Vec<Metric>The metrics a budget judges for this cell. Every metric is recorded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cell
impl<'de> Deserialize<'de> for Cell
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 Cell
impl StructuralPartialEq for Cell
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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