pub struct VcsTrendPoint {
pub as_of: i64,
pub vcs: Vcs,
}Available on crate feature
vcs-git only.Expand description
Wire form of one sampled point in a historical metric trend (issue
#333): the sample timestamp plus the file’s VCS block at that moment.
as_of leads; the metrics sit under a nested vcs key (issue #684),
the same always-slim Vcs row every other endpoint emits. The four
constant stamps are carried once on the enclosing VcsTrend, never
repeated per point (issue #635).
Fields§
§as_of: i64Unix-second timestamp this point was sampled at.
vcs: VcsThe file’s change-history metrics at as_of.
Trait Implementations§
Source§impl Clone for VcsTrendPoint
impl Clone for VcsTrendPoint
Source§fn clone(&self) -> VcsTrendPoint
fn clone(&self) -> VcsTrendPoint
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 VcsTrendPoint
impl Debug for VcsTrendPoint
Source§impl<'de> Deserialize<'de> for VcsTrendPoint
impl<'de> Deserialize<'de> for VcsTrendPoint
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 PartialEq for VcsTrendPoint
impl PartialEq for VcsTrendPoint
Source§impl Serialize for VcsTrendPoint
impl Serialize for VcsTrendPoint
impl StructuralPartialEq for VcsTrendPoint
Auto Trait Implementations§
impl Freeze for VcsTrendPoint
impl RefUnwindSafe for VcsTrendPoint
impl Send for VcsTrendPoint
impl Sync for VcsTrendPoint
impl Unpin for VcsTrendPoint
impl UnsafeUnpin for VcsTrendPoint
impl UnwindSafe for VcsTrendPoint
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