pub enum ShareableCheck {
PatternSignature(String),
AggregateStats {
name: String,
value: f64,
},
MistakeCount {
category: String,
count: u32,
},
LanguageDistribution {
language: String,
percentage: u32,
},
SourceCode(String),
FilePath(String),
SymbolName(String),
CommitMessage(String),
AuthorIdentity(String),
ContentHash(String),
RawText(String),
}Expand description
An item to check for shareability.
Variants§
PatternSignature(String)
A structural pattern signature.
AggregateStats
Aggregated statistics.
MistakeCount
A mistake count.
LanguageDistribution
Language distribution.
SourceCode(String)
Raw source code.
FilePath(String)
A file path.
SymbolName(String)
A symbol name.
CommitMessage(String)
A commit message.
AuthorIdentity(String)
An author identity.
ContentHash(String)
A content hash.
RawText(String)
Generic text to check for credentials.
Trait Implementations§
Source§fn clone(&self) -> ShareableCheck
fn clone(&self) -> ShareableCheck
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 moreAuto Trait Implementations§
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