pub struct ProfileArtifact {
pub kind: String,
pub bins: Vec<ProfileBin>,
pub poc: f64,
pub value_area_high: f64,
pub value_area_low: f64,
pub from_ts: Option<i64>,
pub to_ts: Option<i64>,
}Expand description
A distribution profile made of ordered ProfileBins plus its summary levels.
from_ts/to_ts bound the accumulation window, the same contract as
ZoneArtifact: None means unknown, never “now”.
Fields§
§kind: String§bins: Vec<ProfileBin>§poc: f64§value_area_high: f64§value_area_low: f64§from_ts: Option<i64>First bar the profile was accumulated from, if known.
to_ts: Option<i64>Last bar the profile was accumulated from, if known.
Implementations§
Trait Implementations§
Source§impl Clone for ProfileArtifact
impl Clone for ProfileArtifact
Source§fn clone(&self) -> ProfileArtifact
fn clone(&self) -> ProfileArtifact
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 ProfileArtifact
impl Debug for ProfileArtifact
Source§impl<'de> Deserialize<'de> for ProfileArtifact
impl<'de> Deserialize<'de> for ProfileArtifact
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 From<ProfileArtifact> for Artifact
impl From<ProfileArtifact> for Artifact
Source§fn from(value: ProfileArtifact) -> Self
fn from(value: ProfileArtifact) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProfileArtifact
impl PartialEq for ProfileArtifact
Source§impl Serialize for ProfileArtifact
impl Serialize for ProfileArtifact
impl StructuralPartialEq for ProfileArtifact
Auto Trait Implementations§
impl Freeze for ProfileArtifact
impl RefUnwindSafe for ProfileArtifact
impl Send for ProfileArtifact
impl Sync for ProfileArtifact
impl Unpin for ProfileArtifact
impl UnsafeUnpin for ProfileArtifact
impl UnwindSafe for ProfileArtifact
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