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