pub struct TypedDataTypeFieldInput {
pub name: String,
pub type_: String,
}Expand description
A single field definition in an EIP-712 typed data type.
JSON schema
{
"title": "TypedDataTypeFieldInput",
"description": "A single field definition in an EIP-712 typed data
type.",
"type": "object",
"required": [
"name",
"type"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"x-stainless-model": "wallets.typed_data_type_field_input"
}Fields§
§name: String§type_: StringTrait Implementations§
Source§impl Clone for TypedDataTypeFieldInput
impl Clone for TypedDataTypeFieldInput
Source§fn clone(&self) -> TypedDataTypeFieldInput
fn clone(&self) -> TypedDataTypeFieldInput
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 moreSource§impl Debug for TypedDataTypeFieldInput
impl Debug for TypedDataTypeFieldInput
Source§impl<'de> Deserialize<'de> for TypedDataTypeFieldInput
impl<'de> Deserialize<'de> for TypedDataTypeFieldInput
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 From<&TypedDataTypeFieldInput> for TypedDataTypeFieldInput
impl From<&TypedDataTypeFieldInput> for TypedDataTypeFieldInput
Source§fn from(value: &TypedDataTypeFieldInput) -> Self
fn from(value: &TypedDataTypeFieldInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypedDataTypeFieldInput
impl RefUnwindSafe for TypedDataTypeFieldInput
impl Send for TypedDataTypeFieldInput
impl Sync for TypedDataTypeFieldInput
impl Unpin for TypedDataTypeFieldInput
impl UnsafeUnpin for TypedDataTypeFieldInput
impl UnwindSafe for TypedDataTypeFieldInput
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