pub struct UpdatePolicyRuleResponse {
pub action: PolicyAction,
pub conditions: Vec<PolicyCondition>,
pub id: String,
pub method: PolicyMethod,
pub name: UpdatePolicyRuleResponseName,
}Expand description
UpdatePolicyRuleResponse
JSON schema
{
"allOf": [
{
"$ref": "#/components/schemas/PolicyRuleResponse"
},
{
"examples": [
{
"action": "ALLOW",
"conditions": [
{
"field": "to",
"field_source": "ethereum_transaction",
"operator": "eq",
"value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
],
"id": "allowlist-usdc-contract-on-base-14351345",
"method": "eth_sendTransaction",
"name": "Allowlist USDC contract on Base"
}
]
}
]
}Fields§
§action: PolicyAction§conditions: Vec<PolicyCondition>§id: String§method: PolicyMethod§name: UpdatePolicyRuleResponseNameTrait Implementations§
Source§impl Clone for UpdatePolicyRuleResponse
impl Clone for UpdatePolicyRuleResponse
Source§fn clone(&self) -> UpdatePolicyRuleResponse
fn clone(&self) -> UpdatePolicyRuleResponse
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 Debug for UpdatePolicyRuleResponse
impl Debug for UpdatePolicyRuleResponse
Source§impl<'de> Deserialize<'de> for UpdatePolicyRuleResponse
impl<'de> Deserialize<'de> for UpdatePolicyRuleResponse
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<&UpdatePolicyRuleResponse> for UpdatePolicyRuleResponse
impl From<&UpdatePolicyRuleResponse> for UpdatePolicyRuleResponse
Source§fn from(value: &UpdatePolicyRuleResponse) -> Self
fn from(value: &UpdatePolicyRuleResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdatePolicyRuleResponse
impl RefUnwindSafe for UpdatePolicyRuleResponse
impl Send for UpdatePolicyRuleResponse
impl Sync for UpdatePolicyRuleResponse
impl Unpin for UpdatePolicyRuleResponse
impl UnwindSafe for UpdatePolicyRuleResponse
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