pub struct AlterConfigsRequestData {
pub resources: Vec<AlterConfigsResource>,
pub validate_only: bool,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§resources: Vec<AlterConfigsResource>The updates for each resource.
validate_only: boolTrue if we should validate the request, but not change the configurations.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl AlterConfigsRequestData
impl AlterConfigsRequestData
pub fn with_resources(self, value: Vec<AlterConfigsResource>) -> Self
pub fn with_validate_only(self, value: bool) -> 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 AlterConfigsRequestData
impl Clone for AlterConfigsRequestData
Source§fn clone(&self) -> AlterConfigsRequestData
fn clone(&self) -> AlterConfigsRequestData
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 AlterConfigsRequestData
impl Debug for AlterConfigsRequestData
Source§impl Default for AlterConfigsRequestData
impl Default for AlterConfigsRequestData
Source§impl PartialEq for AlterConfigsRequestData
impl PartialEq for AlterConfigsRequestData
Source§fn eq(&self, other: &AlterConfigsRequestData) -> bool
fn eq(&self, other: &AlterConfigsRequestData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlterConfigsRequestData
Auto Trait Implementations§
impl Freeze for AlterConfigsRequestData
impl RefUnwindSafe for AlterConfigsRequestData
impl Send for AlterConfigsRequestData
impl Sync for AlterConfigsRequestData
impl Unpin for AlterConfigsRequestData
impl UnsafeUnpin for AlterConfigsRequestData
impl UnwindSafe for AlterConfigsRequestData
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