Struct solana_version::LegacyVersion
source · [−]pub struct LegacyVersion { /* private fields */ }
Trait Implementations
sourceimpl AbiExample for LegacyVersion
impl AbiExample for LegacyVersion
sourceimpl Clone for LegacyVersion
impl Clone for LegacyVersion
sourcefn clone(&self) -> LegacyVersion
fn clone(&self) -> LegacyVersion
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 more
sourceimpl Debug for LegacyVersion
impl Debug for LegacyVersion
sourceimpl<'de> Deserialize<'de> for LegacyVersion
impl<'de> Deserialize<'de> for LegacyVersion
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 From<LegacyVersion> for Version
impl From<LegacyVersion> for Version
sourcefn from(legacy_version: LegacyVersion) -> Self
fn from(legacy_version: LegacyVersion) -> Self
Performs the conversion.
sourceimpl PartialEq<LegacyVersion> for LegacyVersion
impl PartialEq<LegacyVersion> for LegacyVersion
sourcefn eq(&self, other: &LegacyVersion) -> bool
fn eq(&self, other: &LegacyVersion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LegacyVersion) -> bool
fn ne(&self, other: &LegacyVersion) -> bool
This method tests for !=
.
sourceimpl Sanitize for LegacyVersion
impl Sanitize for LegacyVersion
sourceimpl Serialize for LegacyVersion
impl Serialize for LegacyVersion
impl StructuralPartialEq for LegacyVersion
Auto Trait Implementations
impl RefUnwindSafe for LegacyVersion
impl Send for LegacyVersion
impl Sync for LegacyVersion
impl Unpin for LegacyVersion
impl UnwindSafe for LegacyVersion
Blanket Implementations
sourceimpl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
sourceimpl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more