pub struct PolicyIntentResponseRequestDetails {
pub body: PolicyIntentResponseRequestDetailsBody,
pub method: PolicyIntentResponseRequestDetailsMethod,
pub url: String,
}Expand description
The original policy update request that would be sent to the policy endpoint
JSON schema
{
"description": "The original policy update request that would be sent
to the policy endpoint",
"type": "object",
"required": [
"body",
"method",
"url"
],
"properties": {
"body": {
"type": "object",
"properties": {
"name": {
"description": "Name to assign to policy.",
"type": "string",
"maxLength": 50,
"minLength": 1
},
"owner": {
"$ref": "#/components/schemas/OwnerInput"
},
"owner_id": {
"allOf": [
{
"$ref": "#/components/schemas/OwnerIdInput"
},
{}
]
},
"rules": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PolicyRuleRequestBody"
}
}
}
},
"method": {
"type": "string",
"enum": [
"PATCH"
]
},
"url": {
"type": "string"
}
}
}Fields§
§body: PolicyIntentResponseRequestDetailsBody§method: PolicyIntentResponseRequestDetailsMethod§url: StringTrait Implementations§
Source§impl Clone for PolicyIntentResponseRequestDetails
impl Clone for PolicyIntentResponseRequestDetails
Source§fn clone(&self) -> PolicyIntentResponseRequestDetails
fn clone(&self) -> PolicyIntentResponseRequestDetails
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 PolicyIntentResponseRequestDetails
impl<'de> Deserialize<'de> for PolicyIntentResponseRequestDetails
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<&PolicyIntentResponseRequestDetails> for PolicyIntentResponseRequestDetails
impl From<&PolicyIntentResponseRequestDetails> for PolicyIntentResponseRequestDetails
Source§fn from(value: &PolicyIntentResponseRequestDetails) -> Self
fn from(value: &PolicyIntentResponseRequestDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolicyIntentResponseRequestDetails
impl RefUnwindSafe for PolicyIntentResponseRequestDetails
impl Send for PolicyIntentResponseRequestDetails
impl Sync for PolicyIntentResponseRequestDetails
impl Unpin for PolicyIntentResponseRequestDetails
impl UnsafeUnpin for PolicyIntentResponseRequestDetails
impl UnwindSafe for PolicyIntentResponseRequestDetails
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