pub struct IntegrationMetadata {
pub timestamp: DateTime<Utc>,
pub computation_time_ms: u64,
pub integration_successful: bool,
pub centrality_weight: f64,
pub files_with_centrality: usize,
pub config: CentralityConfig,
}Expand description
Metadata about centrality-heuristics integration
Fields§
§timestamp: DateTime<Utc>When the analysis was performed
computation_time_ms: u64Total computation time
integration_successful: boolWhether centrality was successfully integrated
centrality_weight: f64Centrality weight used in integration
files_with_centrality: usizeNumber of files with centrality scores
config: CentralityConfigConfiguration used
Trait Implementations§
Source§impl Clone for IntegrationMetadata
impl Clone for IntegrationMetadata
Source§fn clone(&self) -> IntegrationMetadata
fn clone(&self) -> IntegrationMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 IntegrationMetadata
impl Debug for IntegrationMetadata
Source§impl<'de> Deserialize<'de> for IntegrationMetadata
impl<'de> Deserialize<'de> for IntegrationMetadata
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 IntegrationMetadata
impl PartialEq for IntegrationMetadata
Source§impl Serialize for IntegrationMetadata
impl Serialize for IntegrationMetadata
impl StructuralPartialEq for IntegrationMetadata
Auto Trait Implementations§
impl Freeze for IntegrationMetadata
impl RefUnwindSafe for IntegrationMetadata
impl Send for IntegrationMetadata
impl Sync for IntegrationMetadata
impl Unpin for IntegrationMetadata
impl UnwindSafe for IntegrationMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more