Struct github_workflows_update::workflow::Workflow
source · pub struct Workflow {
pub filename: PathBuf,
pub contents: String,
pub uses: HashSet<(Resource, Version)>,
pub latest: HashMap<Resource, Version>,
}Fields
filename: PathBufThe name of the workflow file.
contents: StringContents of the workflow file as a String.
uses: HashSet<(Resource, Version)>Set with all Resources 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 RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more