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 for ServiceAccountSubject
impl PartialEq for ServiceAccountSubject
source§impl Serialize for ServiceAccountSubject
impl Serialize for ServiceAccountSubject
impl StructuralPartialEq for ServiceAccountSubject
Auto Trait Implementations§
impl Freeze for ServiceAccountSubject
impl RefUnwindSafe for ServiceAccountSubject
impl Send for ServiceAccountSubject
impl Sync for ServiceAccountSubject
impl Unpin for ServiceAccountSubject
impl UnwindSafe for ServiceAccountSubject
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
)