pub struct PolicyIntentResponseRequestDetailsBody {
pub name: Option<PolicyIntentResponseRequestDetailsBodyName>,
pub owner: Option<OwnerInput>,
pub owner_id: Option<OwnerIdInput>,
pub rules: Vec<PolicyRuleRequestBody>,
}Expand description
PolicyIntentResponseRequestDetailsBody
JSON schema
{
"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"
}
}
}
}Fields§
§name: Option<PolicyIntentResponseRequestDetailsBodyName>Name to assign to policy.
owner: Option<OwnerInput>§owner_id: Option<OwnerIdInput>§rules: Vec<PolicyRuleRequestBody>Trait Implementations§
Source§impl Clone for PolicyIntentResponseRequestDetailsBody
impl Clone for PolicyIntentResponseRequestDetailsBody
Source§fn clone(&self) -> PolicyIntentResponseRequestDetailsBody
fn clone(&self) -> PolicyIntentResponseRequestDetailsBody
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 PolicyIntentResponseRequestDetailsBody
impl<'de> Deserialize<'de> for PolicyIntentResponseRequestDetailsBody
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<&PolicyIntentResponseRequestDetailsBody> for PolicyIntentResponseRequestDetailsBody
impl From<&PolicyIntentResponseRequestDetailsBody> for PolicyIntentResponseRequestDetailsBody
Source§fn from(value: &PolicyIntentResponseRequestDetailsBody) -> Self
fn from(value: &PolicyIntentResponseRequestDetailsBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolicyIntentResponseRequestDetailsBody
impl RefUnwindSafe for PolicyIntentResponseRequestDetailsBody
impl Send for PolicyIntentResponseRequestDetailsBody
impl Sync for PolicyIntentResponseRequestDetailsBody
impl Unpin for PolicyIntentResponseRequestDetailsBody
impl UnsafeUnpin for PolicyIntentResponseRequestDetailsBody
impl UnwindSafe for PolicyIntentResponseRequestDetailsBody
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