pub enum AccountVersion {
V1,
}
Variants§
V1
Trait Implementations§
source§impl BorshDeserialize for AccountVersion
impl BorshDeserialize for AccountVersion
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for AccountVersion
impl BorshSerialize for AccountVersion
source§impl Clone for AccountVersion
impl Clone for AccountVersion
source§fn clone(&self) -> AccountVersion
fn clone(&self) -> AccountVersion
Returns a copy 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 AccountVersion
impl Debug for AccountVersion
source§impl Default for AccountVersion
impl Default for AccountVersion
source§fn default() -> AccountVersion
fn default() -> AccountVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountVersion
impl<'de> Deserialize<'de> for AccountVersion
source§fn 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
source§impl EnumExt for AccountVersion
impl EnumExt for AccountVersion
source§impl PartialEq for AccountVersion
impl PartialEq for AccountVersion
source§fn eq(&self, other: &AccountVersion) -> bool
fn eq(&self, other: &AccountVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountVersion
impl Serialize for AccountVersion
impl Copy for AccountVersion
impl Eq for AccountVersion
impl StructuralPartialEq for AccountVersion
Auto Trait Implementations§
impl Freeze for AccountVersion
impl RefUnwindSafe for AccountVersion
impl Send for AccountVersion
impl Sync for AccountVersion
impl Unpin for AccountVersion
impl UnwindSafe for AccountVersion
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