pub struct CachedSource {
pub name: String,
pub origin_url: String,
pub origin_branch: String,
pub local_path: PathBuf,
pub manifest: ConfigSourceDocument,
pub last_commit: Option<String>,
pub last_fetched: Option<String>,
}Expand description
Cached state for a single config source.
Fields§
§name: String§origin_url: String§origin_branch: String§local_path: PathBuf§manifest: ConfigSourceDocument§last_commit: Option<String>§last_fetched: Option<String>Trait Implementations§
Source§impl Clone for CachedSource
impl Clone for CachedSource
Source§fn clone(&self) -> CachedSource
fn clone(&self) -> CachedSource
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 CachedSource
impl RefUnwindSafe for CachedSource
impl Send for CachedSource
impl Sync for CachedSource
impl Unpin for CachedSource
impl UnsafeUnpin for CachedSource
impl UnwindSafe for CachedSource
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