pub struct ScramCredentialUpsertion {
pub name: KafkaString,
pub mechanism: i8,
pub iterations: i32,
pub salt: Bytes,
pub salted_password: Bytes,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe user name.
mechanism: i8The SCRAM mechanism.
iterations: i32The number of iterations.
salt: BytesA random salt generated by the client.
salted_password: BytesThe salted password.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ScramCredentialUpsertion
impl ScramCredentialUpsertion
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_mechanism(self, value: i8) -> Self
pub fn with_iterations(self, value: i32) -> Self
pub fn with_salt(self, value: Bytes) -> Self
pub fn with_salted_password(self, value: Bytes) -> 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 ScramCredentialUpsertion
impl Clone for ScramCredentialUpsertion
Source§fn clone(&self) -> ScramCredentialUpsertion
fn clone(&self) -> ScramCredentialUpsertion
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 ScramCredentialUpsertion
impl Debug for ScramCredentialUpsertion
Source§impl Default for ScramCredentialUpsertion
impl Default for ScramCredentialUpsertion
Source§impl PartialEq for ScramCredentialUpsertion
impl PartialEq for ScramCredentialUpsertion
Source§fn eq(&self, other: &ScramCredentialUpsertion) -> bool
fn eq(&self, other: &ScramCredentialUpsertion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScramCredentialUpsertion
Auto Trait Implementations§
impl !Freeze for ScramCredentialUpsertion
impl RefUnwindSafe for ScramCredentialUpsertion
impl Send for ScramCredentialUpsertion
impl Sync for ScramCredentialUpsertion
impl Unpin for ScramCredentialUpsertion
impl UnsafeUnpin for ScramCredentialUpsertion
impl UnwindSafe for ScramCredentialUpsertion
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