pub struct BoundObjectReference {
pub api_version: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub uid: Option<String>,
}Available on crate feature
k8s only.Expand description
BoundObjectReference is a reference to an object that a token is bound to.
Fields§
§api_version: Option<String>API version of the referent.
kind: Option<String>Kind of the referent. Valid kinds are ‘Pod’ and ‘Secret’.
name: Option<String>Name of the referent.
uid: Option<String>UID of the referent.
Trait Implementations§
Source§impl Clone for BoundObjectReference
impl Clone for BoundObjectReference
Source§fn clone(&self) -> BoundObjectReference
fn clone(&self) -> BoundObjectReference
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 Debug for BoundObjectReference
impl Debug for BoundObjectReference
Source§impl DeepMerge for BoundObjectReference
impl DeepMerge for BoundObjectReference
Source§fn merge_from(&mut self, other: BoundObjectReference)
fn merge_from(&mut self, other: BoundObjectReference)
Merge
other into self.Source§impl Default for BoundObjectReference
impl Default for BoundObjectReference
Source§fn default() -> BoundObjectReference
fn default() -> BoundObjectReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoundObjectReference
impl<'de> Deserialize<'de> for BoundObjectReference
Source§fn deserialize<D>(
deserializer: D,
) -> Result<BoundObjectReference, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<BoundObjectReference, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for BoundObjectReference
Available on crate feature schemars only.
impl JsonSchema for BoundObjectReference
Available on crate feature
schemars only.Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BoundObjectReference
impl PartialEq for BoundObjectReference
Source§impl Serialize for BoundObjectReference
impl Serialize for BoundObjectReference
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BoundObjectReference
Auto Trait Implementations§
impl Forget for BoundObjectReference
impl Freeze for BoundObjectReference
impl Move for BoundObjectReference
impl RefUnwindSafe for BoundObjectReference
impl Send for BoundObjectReference
impl Sync for BoundObjectReference
impl Unpin for BoundObjectReference
impl UnsafeUnpin for BoundObjectReference
impl UnwindSafe for BoundObjectReference
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Available on crate feature
map-response-body only.Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using gRPC headers. Read more