Struct k8s_openapi::api::authentication::v1::TokenReviewSpec
source · [−]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
sourceimpl Clone for TokenReviewSpec
impl Clone for TokenReviewSpec
sourcefn clone(&self) -> TokenReviewSpec
fn clone(&self) -> TokenReviewSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TokenReviewSpec
impl Debug for TokenReviewSpec
sourceimpl Default for TokenReviewSpec
impl Default for TokenReviewSpec
sourcefn default() -> TokenReviewSpec
fn default() -> TokenReviewSpec
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TokenReviewSpec
impl<'de> Deserialize<'de> for TokenReviewSpec
sourcefn 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
sourceimpl PartialEq<TokenReviewSpec> for TokenReviewSpec
impl PartialEq<TokenReviewSpec> for TokenReviewSpec
sourcefn eq(&self, other: &TokenReviewSpec) -> bool
fn eq(&self, other: &TokenReviewSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TokenReviewSpec) -> bool
fn ne(&self, other: &TokenReviewSpec) -> bool
This method tests for !=
.
sourceimpl Serialize for TokenReviewSpec
impl Serialize for TokenReviewSpec
impl StructuralPartialEq for TokenReviewSpec
Auto Trait Implementations
impl RefUnwindSafe for TokenReviewSpec
impl Send for TokenReviewSpec
impl Sync for TokenReviewSpec
impl Unpin for TokenReviewSpec
impl UnwindSafe for TokenReviewSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more