pub struct PolicyRuleRequestParams {
pub policy_id: PolicyRuleRequestParamsPolicyId,
pub rule_id: PolicyRuleRequestParamsRuleId,
}Expand description
Unique IDs of the policy and the rule within the policy to take actions on.
JSON schema
{
"description": "Unique IDs of the policy and the rule within the policy to take actions on.",
"type": "object",
"required": [
"policy_id",
"rule_id"
],
"properties": {
"policy_id": {
"type": "string",
"maxLength": 24,
"minLength": 24
},
"rule_id": {
"type": "string",
"maxLength": 24,
"minLength": 24
}
}
}Fields§
§policy_id: PolicyRuleRequestParamsPolicyId§rule_id: PolicyRuleRequestParamsRuleIdTrait Implementations§
Source§impl Clone for PolicyRuleRequestParams
impl Clone for PolicyRuleRequestParams
Source§fn clone(&self) -> PolicyRuleRequestParams
fn clone(&self) -> PolicyRuleRequestParams
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 PolicyRuleRequestParams
impl Debug for PolicyRuleRequestParams
Source§impl<'de> Deserialize<'de> for PolicyRuleRequestParams
impl<'de> Deserialize<'de> for PolicyRuleRequestParams
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<&PolicyRuleRequestParams> for PolicyRuleRequestParams
impl From<&PolicyRuleRequestParams> for PolicyRuleRequestParams
Source§fn from(value: &PolicyRuleRequestParams) -> Self
fn from(value: &PolicyRuleRequestParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolicyRuleRequestParams
impl RefUnwindSafe for PolicyRuleRequestParams
impl Send for PolicyRuleRequestParams
impl Sync for PolicyRuleRequestParams
impl Unpin for PolicyRuleRequestParams
impl UnwindSafe for PolicyRuleRequestParams
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