Struct k8s_openapi::api::flowcontrol::v1beta1::Subject [−][src]
pub struct Subject { pub group: Option<GroupSubject>, pub kind: String, pub service_account: Option<ServiceAccountSubject>, pub user: Option<UserSubject>, }
Expand description
Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
Fields
group: Option<GroupSubject>
kind: String
Required
service_account: Option<ServiceAccountSubject>
user: Option<UserSubject>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Subject
impl UnwindSafe for Subject
Blanket Implementations
Mutably borrows from an owned value. Read more