Struct kafka_protocol::messages::create_delegation_token_request::CreateDelegationTokenRequestBuilder
source · pub struct CreateDelegationTokenRequestBuilder { /* private fields */ }
Expand description
Builder for CreateDelegationTokenRequest
.
Implementations§
source§impl CreateDelegationTokenRequestBuilder
impl CreateDelegationTokenRequestBuilder
sourcepub fn renewers(&mut self, value: Vec<CreatableRenewers>) -> &mut Self
pub fn renewers(&mut self, value: Vec<CreatableRenewers>) -> &mut Self
A list of those who are allowed to renew this token before it expires.
Supported API versions: 0-2
sourcepub fn max_lifetime_ms(&mut self, value: i64) -> &mut Self
pub fn max_lifetime_ms(&mut self, value: i64) -> &mut Self
The maximum lifetime of the token in milliseconds, or -1 to use the server side default.
Supported API versions: 0-2
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
pub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Vec<u8>>
) -> &mut Self
Other tagged fields
sourcepub fn build(
&self
) -> Result<CreateDelegationTokenRequest, CreateDelegationTokenRequestBuilderError>
pub fn build(
&self
) -> Result<CreateDelegationTokenRequest, CreateDelegationTokenRequestBuilderError>
Trait Implementations§
source§impl Clone for CreateDelegationTokenRequestBuilder
impl Clone for CreateDelegationTokenRequestBuilder
source§fn clone(&self) -> CreateDelegationTokenRequestBuilder
fn clone(&self) -> CreateDelegationTokenRequestBuilder
Returns a copy 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 more