Struct solana_cli_output::cli_version::CliVersion
source · [−]pub struct CliVersion(_);Implementations
sourceimpl CliVersion
impl CliVersion
pub fn unknown_version() -> Self
Trait Implementations
sourceimpl Clone for CliVersion
impl Clone for CliVersion
sourcefn clone(&self) -> CliVersion
fn clone(&self) -> CliVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CliVersion
impl Debug for CliVersion
sourceimpl Default for CliVersion
impl Default for CliVersion
sourcefn default() -> CliVersion
fn default() -> CliVersion
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CliVersion
impl<'de> Deserialize<'de> for CliVersion
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CliVersion
impl Display for CliVersion
sourceimpl From<Version> for CliVersion
impl From<Version> for CliVersion
sourceimpl FromStr for CliVersion
impl FromStr for CliVersion
sourceimpl Hash for CliVersion
impl Hash for CliVersion
sourceimpl Ord for CliVersion
impl Ord for CliVersion
sourcefn cmp(&self, other: &CliVersion) -> Ordering
fn cmp(&self, other: &CliVersion) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CliVersion> for CliVersion
impl PartialEq<CliVersion> for CliVersion
sourcefn eq(&self, other: &CliVersion) -> bool
fn eq(&self, other: &CliVersion) -> bool
sourceimpl PartialOrd<CliVersion> for CliVersion
impl PartialOrd<CliVersion> for CliVersion
sourcefn partial_cmp(&self, other: &CliVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &CliVersion) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl Serialize for CliVersion
impl Serialize for CliVersion
impl Eq for CliVersion
impl StructuralEq for CliVersion
impl StructuralPartialEq for CliVersion
Auto Trait Implementations
impl RefUnwindSafe for CliVersion
impl Send for CliVersion
impl Sync for CliVersion
impl Unpin for CliVersion
impl UnwindSafe for CliVersion
Blanket Implementations
impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.