pub struct EvmTypedDataVerifyingContractObservation {
pub address: Option<EvmTypedDataVerifyingContractObservationAddress>,
pub type_: EvmTypedDataVerifyingContractObservationType,
}Expand description
The domain verifyingContract an evmTypedDataVerifyingContract criterion compared.
JSON schema
{
"title": "EvmTypedDataVerifyingContractObservation",
"description": "The domain `verifyingContract` an `evmTypedDataVerifyingContract` criterion compared.",
"examples": [
{
"address": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"type": "evmTypedDataVerifyingContract"
}
],
"type": "object",
"required": [
"type"
],
"properties": {
"address": {
"description": "The domain's `verifyingContract`. Omitted when the domain has none.",
"examples": [
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
],
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"type": {
"description": "The criterion type.",
"examples": [
"evmTypedDataVerifyingContract"
],
"type": "string",
"enum": [
"evmTypedDataVerifyingContract"
],
"x-go-type": "string"
}
},
"additionalProperties": false
}Fields§
§address: Option<EvmTypedDataVerifyingContractObservationAddress>The domain’s verifyingContract. Omitted when the domain has none.
type_: EvmTypedDataVerifyingContractObservationTypeThe criterion type.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvmTypedDataVerifyingContractObservation
impl<'de> Deserialize<'de> for EvmTypedDataVerifyingContractObservation
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<&EvmTypedDataVerifyingContractObservation> for EvmTypedDataVerifyingContractObservation
impl From<&EvmTypedDataVerifyingContractObservation> for EvmTypedDataVerifyingContractObservation
Source§fn from(value: &EvmTypedDataVerifyingContractObservation) -> Self
fn from(value: &EvmTypedDataVerifyingContractObservation) -> Self
Converts to this type from the input type.
Source§impl From<EvmTypedDataVerifyingContractObservation> for PolicyCriterionObservation
impl From<EvmTypedDataVerifyingContractObservation> for PolicyCriterionObservation
Source§fn from(value: EvmTypedDataVerifyingContractObservation) -> Self
fn from(value: EvmTypedDataVerifyingContractObservation) -> Self
Converts to this type from the input type.
Source§impl From<EvmTypedDataVerifyingContractObservation> for EvmTypedDataVerifyingContractObservation
impl From<EvmTypedDataVerifyingContractObservation> for EvmTypedDataVerifyingContractObservation
Source§fn from(value: EvmTypedDataVerifyingContractObservation) -> Self
fn from(value: EvmTypedDataVerifyingContractObservation) -> Self
Converts to this type from the input type.
Source§impl TryFrom<EvmTypedDataVerifyingContractObservation> for EvmTypedDataVerifyingContractObservation
impl TryFrom<EvmTypedDataVerifyingContractObservation> for EvmTypedDataVerifyingContractObservation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: EvmTypedDataVerifyingContractObservation,
) -> Result<Self, ConversionError>
fn try_from( value: EvmTypedDataVerifyingContractObservation, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EvmTypedDataVerifyingContractObservation
impl RefUnwindSafe for EvmTypedDataVerifyingContractObservation
impl Send for EvmTypedDataVerifyingContractObservation
impl Sync for EvmTypedDataVerifyingContractObservation
impl Unpin for EvmTypedDataVerifyingContractObservation
impl UnsafeUnpin for EvmTypedDataVerifyingContractObservation
impl UnwindSafe for EvmTypedDataVerifyingContractObservation
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