pub struct DatabasesCreateClusterBodyUsersItemSettingsAclItem {
pub id: Option<String>,
pub permission: DatabasesCreateClusterBodyUsersItemSettingsAclItemPermission,
pub topic: String,
}Expand description
DatabasesCreateClusterBodyUsersItemSettingsAclItem
JSON schema
{
"type": "object",
"required": [
"permission",
"topic"
],
"properties": {
"id": {
"description": "An identifier for the ACL. Will be computed after the ACL is created/updated.",
"examples": [
"aaa"
],
"type": "string"
},
"permission": {
"description": "Permission set applied to the ACL. 'consume' allows for messages to be consumed from the topic. 'produce' allows for messages to be published to the topic. 'produceconsume' allows for both 'consume' and 'produce' permission. 'admin' allows for 'produceconsume' as well as any operations to administer the topic (delete, update).",
"examples": [
"consume"
],
"type": "string",
"enum": [
"admin",
"consume",
"produce",
"produceconsume"
]
},
"topic": {
"description": "A regex for matching the topic(s) that this ACL should apply to.",
"examples": [
"topic-abc.*"
],
"type": "string"
}
}
}Fields§
§id: Option<String>An identifier for the ACL. Will be computed after the ACL is created/updated.
permission: DatabasesCreateClusterBodyUsersItemSettingsAclItemPermissionPermission set applied to the ACL. ‘consume’ allows for messages to be consumed from the topic. ‘produce’ allows for messages to be published to the topic. ‘produceconsume’ allows for both ‘consume’ and ‘produce’ permission. ‘admin’ allows for ‘produceconsume’ as well as any operations to administer the topic (delete, update).
topic: StringA regex for matching the topic(s) that this ACL should apply to.
Trait Implementations§
Source§impl Clone for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl Clone for DatabasesCreateClusterBodyUsersItemSettingsAclItem
Source§fn clone(&self) -> DatabasesCreateClusterBodyUsersItemSettingsAclItem
fn clone(&self) -> DatabasesCreateClusterBodyUsersItemSettingsAclItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl<'de> Deserialize<'de> for DatabasesCreateClusterBodyUsersItemSettingsAclItem
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<&DatabasesCreateClusterBodyUsersItemSettingsAclItem> for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl From<&DatabasesCreateClusterBodyUsersItemSettingsAclItem> for DatabasesCreateClusterBodyUsersItemSettingsAclItem
Source§fn from(value: &DatabasesCreateClusterBodyUsersItemSettingsAclItem) -> Self
fn from(value: &DatabasesCreateClusterBodyUsersItemSettingsAclItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl RefUnwindSafe for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl Send for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl Sync for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl Unpin for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl UnsafeUnpin for DatabasesCreateClusterBodyUsersItemSettingsAclItem
impl UnwindSafe for DatabasesCreateClusterBodyUsersItemSettingsAclItem
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