pub struct VersionCompatibility {
pub from_version: String,
pub to_version: String,
pub compatible: bool,
pub requires_migration: bool,
pub issues: Vec<String>,
pub breaking_changes: Vec<String>,
}Expand description
Workflow version compatibility checker
Fields§
§from_version: StringSource version
to_version: StringTarget version
compatible: boolWhether versions are compatible
requires_migration: boolWhether migration is required
issues: Vec<String>Compatibility issues
breaking_changes: Vec<String>Breaking changes
Implementations§
Source§impl VersionCompatibility
impl VersionCompatibility
Sourcepub fn check(from: &str, to: &str, history: &WorkflowVersionHistory) -> Self
pub fn check(from: &str, to: &str, history: &WorkflowVersionHistory) -> Self
Check compatibility between two versions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VersionCompatibility
impl RefUnwindSafe for VersionCompatibility
impl Send for VersionCompatibility
impl Sync for VersionCompatibility
impl Unpin for VersionCompatibility
impl UnwindSafe for VersionCompatibility
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