pub struct FafFile {
pub data: FafData,
pub path: Option<String>,
}Expand description
Parsed FAF file with convenient accessors
Fields§
§data: FafDataParsed and typed data
path: Option<String>Original file path (if loaded from file)
Implementations§
Source§impl FafFile
impl FafFile
Sourcepub fn project_name(&self) -> &str
pub fn project_name(&self) -> &str
Get project name
Sourcepub fn tech_stack(&self) -> Option<&str>
pub fn tech_stack(&self) -> Option<&str>
Get tech stack string
Sourcepub fn what_building(&self) -> Option<&str>
pub fn what_building(&self) -> Option<&str>
Get what building
Sourcepub fn is_high_quality(&self) -> bool
pub fn is_high_quality(&self) -> bool
Check if score indicates high quality (>= 70%)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FafFile
impl RefUnwindSafe for FafFile
impl Send for FafFile
impl Sync for FafFile
impl Unpin for FafFile
impl UnsafeUnpin for FafFile
impl UnwindSafe for FafFile
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