pub struct ExpireDelegationTokenRequestData {
pub hmac: Bytes,
pub expiry_time_period_ms: i64,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§hmac: BytesThe HMAC of the delegation token to be expired.
expiry_time_period_ms: i64The expiry time period in milliseconds.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ExpireDelegationTokenRequestData
impl ExpireDelegationTokenRequestData
pub fn with_hmac(self, value: Bytes) -> Self
pub fn with_expiry_time_period_ms(self, value: i64) -> 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 ExpireDelegationTokenRequestData
impl Clone for ExpireDelegationTokenRequestData
Source§fn clone(&self) -> ExpireDelegationTokenRequestData
fn clone(&self) -> ExpireDelegationTokenRequestData
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 PartialEq for ExpireDelegationTokenRequestData
impl PartialEq for ExpireDelegationTokenRequestData
Source§fn eq(&self, other: &ExpireDelegationTokenRequestData) -> bool
fn eq(&self, other: &ExpireDelegationTokenRequestData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpireDelegationTokenRequestData
Auto Trait Implementations§
impl !Freeze for ExpireDelegationTokenRequestData
impl RefUnwindSafe for ExpireDelegationTokenRequestData
impl Send for ExpireDelegationTokenRequestData
impl Sync for ExpireDelegationTokenRequestData
impl Unpin for ExpireDelegationTokenRequestData
impl UnsafeUnpin for ExpireDelegationTokenRequestData
impl UnwindSafe for ExpireDelegationTokenRequestData
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