pub enum NetworkSchema {
Plain,
Solana,
Ethereum,
Bitcoin,
Near,
}
Variants
Plain
Solana
Ethereum
Bitcoin
Near
Trait Implementations
sourceimpl BorshDeserialize for NetworkSchema
impl BorshDeserialize for NetworkSchema
sourcefn 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. Read more
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.
sourceimpl BorshSerialize for NetworkSchema
impl BorshSerialize for NetworkSchema
sourceimpl Clone for NetworkSchema
impl Clone for NetworkSchema
sourcefn clone(&self) -> NetworkSchema
fn clone(&self) -> NetworkSchema
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 Default for NetworkSchema
impl Default for NetworkSchema
sourceimpl PartialEq<NetworkSchema> for NetworkSchema
impl PartialEq<NetworkSchema> for NetworkSchema
impl StructuralPartialEq for NetworkSchema
Auto Trait Implementations
impl RefUnwindSafe for NetworkSchema
impl Send for NetworkSchema
impl Sync for NetworkSchema
impl Unpin for NetworkSchema
impl UnwindSafe for NetworkSchema
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> 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