pub enum CurveType {
Ed25519,
Secp256k1,
Starknet,
}Expand description
The cryptographic curve type used by the wallet.
JSON schema
{
"title": "CurveType",
"description": "The cryptographic curve type used by the wallet.",
"type": "string",
"enum": [
"ed25519",
"secp256k1",
"starknet"
],
"x-stainless-model": "wallets.curve_type"
}Variants§
Trait Implementations§
impl Copy for CurveType
Source§impl<'de> Deserialize<'de> for CurveType
impl<'de> Deserialize<'de> for CurveType
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
impl Eq for CurveType
Source§impl Ord for CurveType
impl Ord for CurveType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CurveType
impl PartialOrd for CurveType
impl StructuralPartialEq for CurveType
Source§impl TryFrom<&String> for CurveType
impl TryFrom<&String> for CurveType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CurveType
impl RefUnwindSafe for CurveType
impl Send for CurveType
impl Sync for CurveType
impl Unpin for CurveType
impl UnsafeUnpin for CurveType
impl UnwindSafe for CurveType
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