pub struct PolicyResponse {
pub display_name: String,
pub document: Map<String, Value>,
pub id: String,
pub is_builtin: bool,
}Expand description
Access policy resource.
JSON schema
{
"title": "PolicyResponse",
"description": "Access policy resource.",
"type": "object",
"required": [
"display_name",
"document",
"id",
"is_builtin"
],
"properties": {
"display_name": {
"title": "Display Name",
"type": "string"
},
"document": {
"title": "Document",
"type": "object",
"additionalProperties": true
},
"id": {
"title": "Id",
"type": "string"
},
"is_builtin": {
"title": "Is Builtin",
"type": "boolean"
}
}
}Fields§
§display_name: String§document: Map<String, Value>§id: String§is_builtin: boolTrait Implementations§
Source§impl Clone for PolicyResponse
impl Clone for PolicyResponse
Source§fn clone(&self) -> PolicyResponse
fn clone(&self) -> PolicyResponse
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 PolicyResponse
impl Debug for PolicyResponse
Source§impl<'de> Deserialize<'de> for PolicyResponse
impl<'de> Deserialize<'de> for PolicyResponse
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<&PolicyResponse> for PolicyResponse
impl From<&PolicyResponse> for PolicyResponse
Source§fn from(value: &PolicyResponse) -> Self
fn from(value: &PolicyResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolicyResponse
impl RefUnwindSafe for PolicyResponse
impl Send for PolicyResponse
impl Sync for PolicyResponse
impl Unpin for PolicyResponse
impl UnsafeUnpin for PolicyResponse
impl UnwindSafe for PolicyResponse
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