pub struct ConfigResource {
pub resource_name: KafkaString,
pub resource_type: i8,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§resource_name: KafkaStringThe resource name.
resource_type: i8The resource type.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ConfigResource
impl ConfigResource
pub fn with_resource_name(self, value: KafkaString) -> Self
pub fn with_resource_type(self, value: i8) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for ConfigResource
impl Clone for ConfigResource
Source§fn clone(&self) -> ConfigResource
fn clone(&self) -> ConfigResource
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 Debug for ConfigResource
impl Debug for ConfigResource
Source§impl Default for ConfigResource
impl Default for ConfigResource
Source§impl PartialEq for ConfigResource
impl PartialEq for ConfigResource
Source§fn eq(&self, other: &ConfigResource) -> bool
fn eq(&self, other: &ConfigResource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigResource
Auto Trait Implementations§
impl !Freeze for ConfigResource
impl RefUnwindSafe for ConfigResource
impl Send for ConfigResource
impl Sync for ConfigResource
impl Unpin for ConfigResource
impl UnsafeUnpin for ConfigResource
impl UnwindSafe for ConfigResource
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