pub struct VersionSet {
pub api_version: u32,
/* private fields */
}Expand description
A version set maps node IDs to their schema versions.
Aggregating crates use this to pin the API surface:
“in API v3, zenfilters.exposure uses schema v2”.
Fields§
§api_version: u32The public-facing API version number that users see.
Implementations§
Trait Implementations§
Source§impl Clone for VersionSet
impl Clone for VersionSet
Source§fn clone(&self) -> VersionSet
fn clone(&self) -> VersionSet
Returns a duplicate of the value. Read more
1.0.0 · 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 VersionSet
impl Debug for VersionSet
Source§impl Default for VersionSet
impl Default for VersionSet
Source§fn default() -> VersionSet
fn default() -> VersionSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VersionSet
impl RefUnwindSafe for VersionSet
impl Send for VersionSet
impl Sync for VersionSet
impl Unpin for VersionSet
impl UnsafeUnpin for VersionSet
impl UnwindSafe for VersionSet
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