Struct k8s_openapi::api::flowcontrol::v1beta3::ServiceAccountSubject
source · pub struct ServiceAccountSubject {
pub name: String,
pub namespace: String,
}
Expand description
ServiceAccountSubject holds detailed information for service-account-kind subject.
Fields§
§name: String
name
is the name of matching ServiceAccount objects, or “*” to match regardless of name. Required.
namespace: String
namespace
is the namespace of matching ServiceAccount objects. Required.
Trait Implementations§
source§impl Clone for ServiceAccountSubject
impl Clone for ServiceAccountSubject
source§fn clone(&self) -> ServiceAccountSubject
fn clone(&self) -> ServiceAccountSubject
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 ServiceAccountSubject
impl Debug for ServiceAccountSubject
source§impl DeepMerge for ServiceAccountSubject
impl DeepMerge for ServiceAccountSubject
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ServiceAccountSubject
impl Default for ServiceAccountSubject
source§fn default() -> ServiceAccountSubject
fn default() -> ServiceAccountSubject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceAccountSubject
impl<'de> Deserialize<'de> for ServiceAccountSubject
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<ServiceAccountSubject> for ServiceAccountSubject
impl PartialEq<ServiceAccountSubject> for ServiceAccountSubject
source§fn eq(&self, other: &ServiceAccountSubject) -> bool
fn eq(&self, other: &ServiceAccountSubject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.