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