pub struct ScanVersion { /* private fields */ }Expand description
One sibling release tag of a ScanTarget: the same wire/native split as the target’s own
version/display_version.
Implementations§
Source§impl ScanVersion
impl ScanVersion
Sourcepub const fn version(&self) -> &OsvVersion
pub const fn version(&self) -> &OsvVersion
The version in OSV’s wire spelling.
Sourcepub const fn display_version(&self) -> &ConcreteVersion
pub const fn display_version(&self) -> &ConcreteVersion
The version in the ecosystem’s native spelling, for display.
Trait Implementations§
Source§impl Clone for ScanVersion
impl Clone for ScanVersion
Source§impl Debug for ScanVersion
impl Debug for ScanVersion
impl Eq for ScanVersion
Source§impl PartialEq for ScanVersion
impl PartialEq for ScanVersion
impl StructuralPartialEq for ScanVersion
Auto Trait Implementations§
impl Freeze for ScanVersion
impl RefUnwindSafe for ScanVersion
impl Send for ScanVersion
impl Sync for ScanVersion
impl Unpin for ScanVersion
impl UnsafeUnpin for ScanVersion
impl UnwindSafe for ScanVersion
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§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.