pub enum QuoteGetInstructionVersion {
V1,
V2,
}Expand description
Allowed values for the instructionVersion query parameter.
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for QuoteGetInstructionVersion
impl AsRef<str> for QuoteGetInstructionVersion
Source§impl Clone for QuoteGetInstructionVersion
impl Clone for QuoteGetInstructionVersion
Source§fn clone(&self) -> QuoteGetInstructionVersion
fn clone(&self) -> QuoteGetInstructionVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuoteGetInstructionVersion
Source§impl Debug for QuoteGetInstructionVersion
impl Debug for QuoteGetInstructionVersion
Source§impl<'de> Deserialize<'de> for QuoteGetInstructionVersion
impl<'de> Deserialize<'de> for QuoteGetInstructionVersion
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 Display for QuoteGetInstructionVersion
impl Display for QuoteGetInstructionVersion
impl Eq for QuoteGetInstructionVersion
impl StructuralPartialEq for QuoteGetInstructionVersion
Auto Trait Implementations§
impl Freeze for QuoteGetInstructionVersion
impl RefUnwindSafe for QuoteGetInstructionVersion
impl Send for QuoteGetInstructionVersion
impl Sync for QuoteGetInstructionVersion
impl Unpin for QuoteGetInstructionVersion
impl UnsafeUnpin for QuoteGetInstructionVersion
impl UnwindSafe for QuoteGetInstructionVersion
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