pub struct VersionCompatibilitySurface {
pub surface: String,
pub current_versions: Vec<String>,
pub accepted_previous_versions: Vec<String>,
pub refused_versions: Vec<String>,
}Expand description
Version compatibility lane for one surface contract.
Fields§
§surface: StringStable surface identifier.
current_versions: Vec<String>Current versions expected for normal production usage.
accepted_previous_versions: Vec<String>Explicitly accepted previous versions.
refused_versions: Vec<String>Known refused versions to keep failures deterministic.
Trait Implementations§
Source§impl Clone for VersionCompatibilitySurface
impl Clone for VersionCompatibilitySurface
Source§fn clone(&self) -> VersionCompatibilitySurface
fn clone(&self) -> VersionCompatibilitySurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VersionCompatibilitySurface
impl Debug for VersionCompatibilitySurface
impl Eq for VersionCompatibilitySurface
impl StructuralPartialEq for VersionCompatibilitySurface
Auto Trait Implementations§
impl Freeze for VersionCompatibilitySurface
impl RefUnwindSafe for VersionCompatibilitySurface
impl Send for VersionCompatibilitySurface
impl Sync for VersionCompatibilitySurface
impl Unpin for VersionCompatibilitySurface
impl UnsafeUnpin for VersionCompatibilitySurface
impl UnwindSafe for VersionCompatibilitySurface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.