pub struct ConfigResourceQuery { /* private fields */ }Expand description
One configuration resource and its optional ordered key selection.
Implementations§
Source§impl ConfigResourceQuery
impl ConfigResourceQuery
Sourcepub fn new(
resource_type: ConfigResourceType,
resource_name: impl Into<String>,
) -> Self
pub fn new( resource_type: ConfigResourceType, resource_name: impl Into<String>, ) -> Self
Requests every configuration for one exact resource identity.
Sourcepub fn configuration_keys<I, T>(self, keys: I) -> Self
pub fn configuration_keys<I, T>(self, keys: I) -> Self
Restricts the response to the supplied configuration keys in this order.
Sourcepub const fn resource_type(&self) -> ConfigResourceType
pub const fn resource_type(&self) -> ConfigResourceType
Returns Kafka’s exact requested resource type.
Sourcepub fn resource_name(&self) -> &str
pub fn resource_name(&self) -> &str
Returns the exact requested resource name.
Sourcepub fn selected_configuration_keys(&self) -> Option<&[String]>
pub fn selected_configuration_keys(&self) -> Option<&[String]>
Returns None for all keys or the exact requested key order.
Trait Implementations§
Source§impl Clone for ConfigResourceQuery
impl Clone for ConfigResourceQuery
Source§impl Debug for ConfigResourceQuery
impl Debug for ConfigResourceQuery
impl Eq for ConfigResourceQuery
Source§impl From<ConfigResource> for ConfigResourceQuery
impl From<ConfigResource> for ConfigResourceQuery
Source§fn from(resource: ConfigResource) -> Self
fn from(resource: ConfigResource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigResourceQuery
impl PartialEq for ConfigResourceQuery
impl StructuralPartialEq for ConfigResourceQuery
Auto Trait Implementations§
impl Freeze for ConfigResourceQuery
impl RefUnwindSafe for ConfigResourceQuery
impl Send for ConfigResourceQuery
impl Sync for ConfigResourceQuery
impl Unpin for ConfigResourceQuery
impl UnsafeUnpin for ConfigResourceQuery
impl UnwindSafe for ConfigResourceQuery
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