#[non_exhaustive]pub struct ConfluentAccountResponseAttributes {
pub api_key: String,
pub resources: Option<Vec<ConfluentResourceResponseAttributes>>,
pub tags: Option<Vec<String>>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The attributes of a Confluent account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.api_key: String
The API key associated with your Confluent account.
resources: Option<Vec<ConfluentResourceResponseAttributes>>
A list of Confluent resources associated with the Confluent account.
A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl ConfluentAccountResponseAttributes
impl ConfluentAccountResponseAttributes
pub fn new(api_key: String) -> ConfluentAccountResponseAttributes
pub fn resources(self, value: Vec<ConfluentResourceResponseAttributes>) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for ConfluentAccountResponseAttributes
impl Clone for ConfluentAccountResponseAttributes
Source§fn clone(&self) -> ConfluentAccountResponseAttributes
fn clone(&self) -> ConfluentAccountResponseAttributes
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<'de> Deserialize<'de> for ConfluentAccountResponseAttributes
impl<'de> Deserialize<'de> for ConfluentAccountResponseAttributes
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 PartialEq for ConfluentAccountResponseAttributes
impl PartialEq for ConfluentAccountResponseAttributes
Source§fn eq(&self, other: &ConfluentAccountResponseAttributes) -> bool
fn eq(&self, other: &ConfluentAccountResponseAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ConfluentAccountResponseAttributes
Auto Trait Implementations§
impl Freeze for ConfluentAccountResponseAttributes
impl RefUnwindSafe for ConfluentAccountResponseAttributes
impl Send for ConfluentAccountResponseAttributes
impl Sync for ConfluentAccountResponseAttributes
impl Unpin for ConfluentAccountResponseAttributes
impl UnwindSafe for ConfluentAccountResponseAttributes
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