pub struct DeltaPattern {
pub name: String,
pub language: String,
pub signature: String,
pub occurrence_count: u32,
pub confidence: f32,
}Expand description
A pattern included in a collective delta.
Fields§
§name: StringPattern name or identifier.
language: StringLanguage this pattern applies to.
signature: StringStructural signature of the pattern.
occurrence_count: u32How many times this pattern was observed.
confidence: f32Confidence that this is a meaningful pattern (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for DeltaPattern
impl Clone for DeltaPattern
Source§fn clone(&self) -> DeltaPattern
fn clone(&self) -> DeltaPattern
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 DeltaPattern
impl Debug for DeltaPattern
Source§impl<'de> Deserialize<'de> for DeltaPattern
impl<'de> Deserialize<'de> for DeltaPattern
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
Auto Trait Implementations§
impl Freeze for DeltaPattern
impl RefUnwindSafe for DeltaPattern
impl Send for DeltaPattern
impl Sync for DeltaPattern
impl Unpin for DeltaPattern
impl UnsafeUnpin for DeltaPattern
impl UnwindSafe for DeltaPattern
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