pub struct PluginSdkVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
Semantic version of the Plugin SDK (major.minor.patch).
Fields§
§major: u32§minor: u32§patch: u32Implementations§
Trait Implementations§
Source§impl Clone for PluginSdkVersion
impl Clone for PluginSdkVersion
Source§fn clone(&self) -> PluginSdkVersion
fn clone(&self) -> PluginSdkVersion
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 moreimpl Copy for PluginSdkVersion
Source§impl Debug for PluginSdkVersion
impl Debug for PluginSdkVersion
Source§impl Display for PluginSdkVersion
impl Display for PluginSdkVersion
impl Eq for PluginSdkVersion
Source§impl Hash for PluginSdkVersion
impl Hash for PluginSdkVersion
Source§impl Ord for PluginSdkVersion
impl Ord for PluginSdkVersion
Source§fn cmp(&self, other: &PluginSdkVersion) -> Ordering
fn cmp(&self, other: &PluginSdkVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PluginSdkVersion
impl PartialEq for PluginSdkVersion
Source§impl PartialOrd for PluginSdkVersion
impl PartialOrd for PluginSdkVersion
impl StructuralPartialEq for PluginSdkVersion
Auto Trait Implementations§
impl Freeze for PluginSdkVersion
impl RefUnwindSafe for PluginSdkVersion
impl Send for PluginSdkVersion
impl Sync for PluginSdkVersion
impl Unpin for PluginSdkVersion
impl UnsafeUnpin for PluginSdkVersion
impl UnwindSafe for PluginSdkVersion
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> Comparable<K> for Q
impl<Q, K> Comparable<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.