pub struct InitResult {
pub created: Vec<String>,
pub skipped: Vec<String>,
}Expand description
Result of theme initialization
Fields§
§created: Vec<String>Files that were created
skipped: Vec<String>Files that were skipped (already exist)
Implementations§
Source§impl InitResult
impl InitResult
Sourcepub fn has_changes(&self) -> bool
pub fn has_changes(&self) -> bool
Check if any files were created
Trait Implementations§
Source§impl Debug for InitResult
impl Debug for InitResult
Source§impl Default for InitResult
impl Default for InitResult
Source§fn default() -> InitResult
fn default() -> InitResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InitResult
impl RefUnwindSafe for InitResult
impl Send for InitResult
impl Sync for InitResult
impl Unpin for InitResult
impl UnwindSafe for InitResult
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