pub struct CachedItem {
pub name: String,
pub version: String,
pub source: String,
pub cached_at: String,
pub file_path: PathBuf,
}Expand description
Metadata about a cached workflow or agent definition.
Fields§
§name: StringLogical name (e.g. "ci-review").
version: StringVersion that was cached.
source: StringOriginal source string (Display form of ExternalSource).
cached_at: StringISO-8601 timestamp when the item was cached.
file_path: PathBufAbsolute path to the cached YAML file.
Trait Implementations§
Source§impl Clone for CachedItem
impl Clone for CachedItem
Source§fn clone(&self) -> CachedItem
fn clone(&self) -> CachedItem
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 CachedItem
impl Debug for CachedItem
Source§impl<'de> Deserialize<'de> for CachedItem
impl<'de> Deserialize<'de> for CachedItem
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 CachedItem
impl RefUnwindSafe for CachedItem
impl Send for CachedItem
impl Sync for CachedItem
impl Unpin for CachedItem
impl UnsafeUnpin for CachedItem
impl UnwindSafe for CachedItem
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