pub enum AggregationMethod {
EthSignTransaction,
EthSignUserOperation,
}Expand description
The RPC method this aggregation applies to.
JSON schema
{
"title": "AggregationMethod",
"description": "The RPC method this aggregation applies to.",
"type": "string",
"enum": [
"eth_signTransaction",
"eth_signUserOperation"
],
"x-stainless-model": "aggregations.aggregation_method"
}Variants§
Trait Implementations§
Source§impl Clone for AggregationMethod
impl Clone for AggregationMethod
Source§fn clone(&self) -> AggregationMethod
fn clone(&self) -> AggregationMethod
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 AggregationMethod
Source§impl Debug for AggregationMethod
impl Debug for AggregationMethod
Source§impl<'de> Deserialize<'de> for AggregationMethod
impl<'de> Deserialize<'de> for AggregationMethod
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 AggregationMethod
impl Display for AggregationMethod
impl Eq for AggregationMethod
Source§impl From<&AggregationMethod> for AggregationMethod
impl From<&AggregationMethod> for AggregationMethod
Source§fn from(value: &AggregationMethod) -> Self
fn from(value: &AggregationMethod) -> Self
Converts to this type from the input type.
Source§impl FromStr for AggregationMethod
impl FromStr for AggregationMethod
Source§impl Hash for AggregationMethod
impl Hash for AggregationMethod
Source§impl Ord for AggregationMethod
impl Ord for AggregationMethod
Source§fn cmp(&self, other: &AggregationMethod) -> Ordering
fn cmp(&self, other: &AggregationMethod) -> Ordering
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 PartialEq for AggregationMethod
impl PartialEq for AggregationMethod
Source§fn eq(&self, other: &AggregationMethod) -> bool
fn eq(&self, other: &AggregationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AggregationMethod
impl PartialOrd for AggregationMethod
Source§impl Serialize for AggregationMethod
impl Serialize for AggregationMethod
impl StructuralPartialEq for AggregationMethod
Source§impl TryFrom<&String> for AggregationMethod
impl TryFrom<&String> for AggregationMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AggregationMethod
impl TryFrom<&str> for AggregationMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AggregationMethod
impl TryFrom<String> for AggregationMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AggregationMethod
impl RefUnwindSafe for AggregationMethod
impl Send for AggregationMethod
impl Sync for AggregationMethod
impl Unpin for AggregationMethod
impl UnsafeUnpin for AggregationMethod
impl UnwindSafe for AggregationMethod
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