pub struct UpdatePolicyRequest {
pub display_name: Option<String>,
pub document: Option<Map<String, Value>>,
}Expand description
Request to update an access policy.
JSON schema
{
"title": "UpdatePolicyRequest",
"description": "Request to update an access policy.",
"type": "object",
"properties": {
"display_name": {
"title": "Display Name",
"type": [
"string",
"null"
]
},
"document": {
"title": "Document",
"type": [
"object",
"null"
],
"additionalProperties": true
}
}
}Fields§
§display_name: Option<String>§document: Option<Map<String, Value>>Trait Implementations§
Source§impl Clone for UpdatePolicyRequest
impl Clone for UpdatePolicyRequest
Source§fn clone(&self) -> UpdatePolicyRequest
fn clone(&self) -> UpdatePolicyRequest
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 UpdatePolicyRequest
impl Debug for UpdatePolicyRequest
Source§impl Default for UpdatePolicyRequest
impl Default for UpdatePolicyRequest
Source§impl<'de> Deserialize<'de> for UpdatePolicyRequest
impl<'de> Deserialize<'de> for UpdatePolicyRequest
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<&UpdatePolicyRequest> for UpdatePolicyRequest
impl From<&UpdatePolicyRequest> for UpdatePolicyRequest
Source§fn from(value: &UpdatePolicyRequest) -> Self
fn from(value: &UpdatePolicyRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdatePolicyRequest
impl RefUnwindSafe for UpdatePolicyRequest
impl Send for UpdatePolicyRequest
impl Sync for UpdatePolicyRequest
impl Unpin for UpdatePolicyRequest
impl UnsafeUnpin for UpdatePolicyRequest
impl UnwindSafe for UpdatePolicyRequest
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