[−][src]Struct openshift_openapi::api::authorization::v1::ServiceAccountReference
ServiceAccountReference specifies a service account and namespace by their names.
Fields
name: String
Name is the name of the service account.
namespace: String
Namespace is the namespace of the service account. Service accounts from inside the whitelisted namespaces are allowed to be bound to roles. If Namespace is empty, then the namespace of the RoleBindingRestriction in which the ServiceAccountReference is embedded is used.
Trait Implementations
impl Clone for ServiceAccountReference
[src]
fn clone(&self) -> ServiceAccountReference
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ServiceAccountReference
[src]
impl Default for ServiceAccountReference
[src]
fn default() -> ServiceAccountReference
[src]
impl<'de> Deserialize<'de> for ServiceAccountReference
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<ServiceAccountReference> for ServiceAccountReference
[src]
fn eq(&self, other: &ServiceAccountReference) -> bool
[src]
fn ne(&self, other: &ServiceAccountReference) -> bool
[src]
impl Serialize for ServiceAccountReference
[src]
impl StructuralPartialEq for ServiceAccountReference
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceAccountReference
impl Send for ServiceAccountReference
impl Sync for ServiceAccountReference
impl Unpin for ServiceAccountReference
impl UnwindSafe for ServiceAccountReference
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,