pub struct DatabasesUpdateUserResponseUserSettingsAclItem {
pub id: Option<String>,
pub permission: DatabasesUpdateUserResponseUserSettingsAclItemPermission,
pub topic: String,
}Expand description
DatabasesUpdateUserResponseUserSettingsAclItem
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: DatabasesUpdateUserResponseUserSettingsAclItemPermissionPermission 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 DatabasesUpdateUserResponseUserSettingsAclItem
impl Clone for DatabasesUpdateUserResponseUserSettingsAclItem
Source§fn clone(&self) -> DatabasesUpdateUserResponseUserSettingsAclItem
fn clone(&self) -> DatabasesUpdateUserResponseUserSettingsAclItem
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 DatabasesUpdateUserResponseUserSettingsAclItem
impl<'de> Deserialize<'de> for DatabasesUpdateUserResponseUserSettingsAclItem
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<&DatabasesUpdateUserResponseUserSettingsAclItem> for DatabasesUpdateUserResponseUserSettingsAclItem
impl From<&DatabasesUpdateUserResponseUserSettingsAclItem> for DatabasesUpdateUserResponseUserSettingsAclItem
Source§fn from(value: &DatabasesUpdateUserResponseUserSettingsAclItem) -> Self
fn from(value: &DatabasesUpdateUserResponseUserSettingsAclItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatabasesUpdateUserResponseUserSettingsAclItem
impl RefUnwindSafe for DatabasesUpdateUserResponseUserSettingsAclItem
impl Send for DatabasesUpdateUserResponseUserSettingsAclItem
impl Sync for DatabasesUpdateUserResponseUserSettingsAclItem
impl Unpin for DatabasesUpdateUserResponseUserSettingsAclItem
impl UnsafeUnpin for DatabasesUpdateUserResponseUserSettingsAclItem
impl UnwindSafe for DatabasesUpdateUserResponseUserSettingsAclItem
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