pub struct Workflow {
pub filename: PathBuf,
pub contents: String,
pub uses: HashSet<(Resource, Version)>,
pub latest: HashMap<Resource, Version>,
}
Fields§
§filename: PathBuf
The name of the workflow file.
contents: String
Contents of the workflow file as a String
.
uses: HashSet<(Resource, Version)>
Set with all Resource
s that the workflow uses
along with the
current versions.
latest: HashMap<Resource, Version>
The latest version of each Resource
as fetched from the
upstream docker or github repository.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
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