pub struct Ethereum7702AuthorizationCondition {
pub field: Ethereum7702AuthorizationConditionField,
pub field_source: Ethereum7702AuthorizationConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
Allowed contract addresses for eth_signAuthorization requests.
JSON schema
{
"title": "ethereum_7702_authorization",
"description": "Allowed contract addresses for eth_signAuthorization
requests.",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"title": "Ethereum7702AuthorizationConditionField",
"type": "string",
"enum": [
"contract"
]
},
"field_source": {
"type": "string",
"enum": [
"ethereum_7702_authorization"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
}
}Fields§
§field: Ethereum7702AuthorizationConditionField§field_source: Ethereum7702AuthorizationConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for Ethereum7702AuthorizationCondition
impl Clone for Ethereum7702AuthorizationCondition
Source§fn clone(&self) -> Ethereum7702AuthorizationCondition
fn clone(&self) -> Ethereum7702AuthorizationCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for Ethereum7702AuthorizationCondition
impl<'de> Deserialize<'de> for Ethereum7702AuthorizationCondition
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<&Ethereum7702AuthorizationCondition> for Ethereum7702AuthorizationCondition
impl From<&Ethereum7702AuthorizationCondition> for Ethereum7702AuthorizationCondition
Source§fn from(value: &Ethereum7702AuthorizationCondition) -> Self
fn from(value: &Ethereum7702AuthorizationCondition) -> Self
Converts to this type from the input type.
Source§impl From<Ethereum7702AuthorizationCondition> for PolicyCondition
impl From<Ethereum7702AuthorizationCondition> for PolicyCondition
Source§fn from(value: Ethereum7702AuthorizationCondition) -> Self
fn from(value: Ethereum7702AuthorizationCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Ethereum7702AuthorizationCondition
impl RefUnwindSafe for Ethereum7702AuthorizationCondition
impl Send for Ethereum7702AuthorizationCondition
impl Sync for Ethereum7702AuthorizationCondition
impl Unpin for Ethereum7702AuthorizationCondition
impl UnwindSafe for Ethereum7702AuthorizationCondition
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