#[non_exhaustive]pub enum SpecVersion {
V1_0_0,
}Expand description
The Agent Plugins specification versions this crate recognizes.
§5.2 requires a client to select validation rules from $schema, never
to fetch them. This enum is that selection: closed, local, offline.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1_0_0
Agent Plugins 1.0.0.
Trait Implementations§
Source§impl Clone for SpecVersion
impl Clone for SpecVersion
impl Copy for SpecVersion
Source§impl Debug for SpecVersion
impl Debug for SpecVersion
Source§impl Display for SpecVersion
impl Display for SpecVersion
impl Eq for SpecVersion
Source§impl Hash for SpecVersion
impl Hash for SpecVersion
Source§impl PartialEq for SpecVersion
impl PartialEq for SpecVersion
impl StructuralPartialEq for SpecVersion
Auto Trait Implementations§
impl Freeze for SpecVersion
impl RefUnwindSafe for SpecVersion
impl Send for SpecVersion
impl Sync for SpecVersion
impl Unpin for SpecVersion
impl UnsafeUnpin for SpecVersion
impl UnwindSafe for SpecVersion
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.