Struct k8s_openapi::api::authentication::v1::TokenReviewSpec
source · pub struct TokenReviewSpec {
pub audiences: Option<Vec<String>>,
pub token: Option<String>,
}
Expand description
TokenReviewSpec is a description of the token authentication request.
Fields§
§audiences: Option<Vec<String>>
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
token: Option<String>
Token is the opaque bearer token.
Trait Implementations§
source§impl Clone for TokenReviewSpec
impl Clone for TokenReviewSpec
source§fn clone(&self) -> TokenReviewSpec
fn clone(&self) -> TokenReviewSpec
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 moresource§impl Debug for TokenReviewSpec
impl Debug for TokenReviewSpec
source§impl DeepMerge for TokenReviewSpec
impl DeepMerge for TokenReviewSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for TokenReviewSpec
impl Default for TokenReviewSpec
source§fn default() -> TokenReviewSpec
fn default() -> TokenReviewSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TokenReviewSpec
impl<'de> Deserialize<'de> for TokenReviewSpec
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TokenReviewSpec
impl PartialEq for TokenReviewSpec
source§impl Serialize for TokenReviewSpec
impl Serialize for TokenReviewSpec
impl StructuralPartialEq for TokenReviewSpec
Auto Trait Implementations§
impl Freeze for TokenReviewSpec
impl RefUnwindSafe for TokenReviewSpec
impl Send for TokenReviewSpec
impl Sync for TokenReviewSpec
impl Unpin for TokenReviewSpec
impl UnwindSafe for TokenReviewSpec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)