Enum switchboard_solana::prelude::QvnReceipt
source · pub enum QvnReceipt {
Success(String),
SwitchboardError(String, u8),
Fallback(String, u8),
}
Variants§
Success(String)
QVN completed successfully with a exit status of 0
SwitchboardError(String, u8)
QVN completed successfully with an error code [200-255]
Fallback(String, u8)
QVN failed to verify user transaction and fellback to a default transaction
Trait Implementations§
source§impl Clone for QvnReceipt
impl Clone for QvnReceipt
source§fn clone(&self) -> QvnReceipt
fn clone(&self) -> QvnReceipt
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<'de> Deserialize<'de> for QvnReceipt
impl<'de> Deserialize<'de> for QvnReceipt
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
Auto Trait Implementations§
impl RefUnwindSafe for QvnReceipt
impl Send for QvnReceipt
impl Sync for QvnReceipt
impl Unpin for QvnReceipt
impl UnwindSafe for QvnReceipt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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