pub struct ClassifiedProfile {
pub profile_name: String,
pub files: Vec<FileClassification>,
pub mode: ClassificationMode,
pub warnings: Vec<String>,
}Expand description
Profile全体の分類結果
Fields§
§profile_name: String元Profile名
files: Vec<FileClassification>ファイル分類結果
mode: ClassificationMode使用した分類モード
warnings: Vec<String>分類中の警告メッセージ
Implementations§
Source§impl ClassifiedProfile
impl ClassifiedProfile
Sourcepub fn files_in_category(&self, category: &str) -> Vec<&PathBuf>
pub fn files_in_category(&self, category: &str) -> Vec<&PathBuf>
特定カテゴリのファイルを取得
Sourcepub fn category_counts(&self) -> HashMap<String, usize>
pub fn category_counts(&self) -> HashMap<String, usize>
カテゴリ別のファイル数を取得
Sourcepub fn uncategorized(&self) -> Vec<&PathBuf>
pub fn uncategorized(&self) -> Vec<&PathBuf>
未分類ファイルを取得
Trait Implementations§
Source§impl Clone for ClassifiedProfile
impl Clone for ClassifiedProfile
Source§fn clone(&self) -> ClassifiedProfile
fn clone(&self) -> ClassifiedProfile
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§
impl Freeze for ClassifiedProfile
impl RefUnwindSafe for ClassifiedProfile
impl Send for ClassifiedProfile
impl Sync for ClassifiedProfile
impl Unpin for ClassifiedProfile
impl UnwindSafe for ClassifiedProfile
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