pub struct CreateDelegationTokenRequest {
pub owner_principal_type: Option<String>,
pub owner_principal_name: Option<String>,
pub renewers: Vec<CreatableRenewers>,
pub max_lifetime_ms: i64,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§owner_principal_type: Option<String>§owner_principal_name: Option<String>§renewers: Vec<CreatableRenewers>§max_lifetime_ms: i64§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for CreateDelegationTokenRequest
impl Clone for CreateDelegationTokenRequest
Source§impl Debug for CreateDelegationTokenRequest
impl Debug for CreateDelegationTokenRequest
Source§impl Decode<'_> for CreateDelegationTokenRequest
impl Decode<'_> for CreateDelegationTokenRequest
impl Eq for CreateDelegationTokenRequest
Source§impl ProtocolRequest for CreateDelegationTokenRequest
impl ProtocolRequest for CreateDelegationTokenRequest
Source§const MIN_VERSION: i16 = MIN_VERSION
const MIN_VERSION: i16 = MIN_VERSION
Minimum protocol version this Rust type supports.
Source§const MAX_VERSION: i16 = MAX_VERSION
const MAX_VERSION: i16 = MAX_VERSION
Maximum protocol version this Rust type can encode and decode. Read more
Source§const LATEST_STABLE_VERSION: i16 = LATEST_STABLE_VERSION
const LATEST_STABLE_VERSION: i16 = LATEST_STABLE_VERSION
Highest protocol version that a client can send. Read more
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible framing from KIP-482.
This is
i16::MAX for never-flexible messages.Source§type Response = CreateDelegationTokenResponse
type Response = CreateDelegationTokenResponse
Matching response type from
krabka-protocol.impl StructuralPartialEq for CreateDelegationTokenRequest
Auto Trait Implementations§
impl Freeze for CreateDelegationTokenRequest
impl RefUnwindSafe for CreateDelegationTokenRequest
impl Send for CreateDelegationTokenRequest
impl Sync for CreateDelegationTokenRequest
impl Unpin for CreateDelegationTokenRequest
impl UnsafeUnpin for CreateDelegationTokenRequest
impl UnwindSafe for CreateDelegationTokenRequest
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