pub struct CachedRepository {
pub name: String,
pub path: PathBuf,
pub configured_apps: Vec<String>,
pub last_updated: DateTime<Utc>,
pub path_exists: bool,
pub is_git_repo: bool,
}Expand description
Cached repository information for fast lookups
Fields§
§name: String§path: PathBuf§configured_apps: Vec<String>§last_updated: DateTime<Utc>§path_exists: bool§is_git_repo: boolTrait Implementations§
Source§impl Clone for CachedRepository
impl Clone for CachedRepository
Source§fn clone(&self) -> CachedRepository
fn clone(&self) -> CachedRepository
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 CachedRepository
impl Debug for CachedRepository
Source§impl<'de> Deserialize<'de> for CachedRepository
impl<'de> Deserialize<'de> for CachedRepository
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 CachedRepository
impl RefUnwindSafe for CachedRepository
impl Send for CachedRepository
impl Sync for CachedRepository
impl Unpin for CachedRepository
impl UnsafeUnpin for CachedRepository
impl UnwindSafe for CachedRepository
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