pub struct Segment {
pub field: String,
pub value: String,
pub n: u64,
pub abstain_below: f64,
pub coverage: f64,
pub ucb: Option<f64>,
pub realized_band: Option<Band>,
pub inherited: bool,
pub confidence_histogram: Option<Option<Histogram>>,
pub automated: Option<Automated>,
pub loss_sum: Option<Option<u64>>,
pub realized_cost: Option<Option<f64>>,
}Fields§
§field: String§value: String§n: u64§abstain_below: f64§coverage: f64§ucb: Option<f64>§realized_band: Option<Band>§inherited: bool§confidence_histogram: Option<Option<Histogram>>v1.2 only: absent (None) before v1.2; present and null (Some(None)) when withheld.
automated: Option<Automated>v1.3 only: absent (None) before v1.3.
loss_sum: Option<Option<u64>>v1.4 only: absent (None) before v1.4.
realized_cost: Option<Option<f64>>v1.4 only: absent (None) before v1.4.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Segment
impl<'de> Deserialize<'de> for Segment
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 StructuralPartialEq for Segment
Auto Trait Implementations§
impl Forget for Segment
impl Freeze for Segment
impl Move for Segment
impl RefUnwindSafe for Segment
impl Send for Segmentwhere
RawVecInner: Send,
impl Sync for Segmentwhere
RawVecInner: Sync,
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segmentwhere
RawVecInner: UnwindSafe,
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