pub struct K8sServiceAccount {
pub api_version: String,
pub kind: String,
pub metadata: K8sMetadata,
pub secrets: Vec<ServiceAccountSecret>,
pub image_pull_secrets: Vec<ServiceAccountSecret>,
pub automount_service_account_token: Option<bool>,
}Fields§
§api_version: String§kind: String§metadata: K8sMetadata§secrets: Vec<ServiceAccountSecret>§image_pull_secrets: Vec<ServiceAccountSecret>§automount_service_account_token: Option<bool>Trait Implementations§
Source§impl Clone for K8sServiceAccount
impl Clone for K8sServiceAccount
Source§fn clone(&self) -> K8sServiceAccount
fn clone(&self) -> K8sServiceAccount
Returns a duplicate 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 ConfigValidator for K8sServiceAccount
impl ConfigValidator for K8sServiceAccount
Source§fn validate_structure(&self) -> Vec<Diagnostic>
fn validate_structure(&self) -> Vec<Diagnostic>
Structural validation — errors mean the config is invalid. Read more
Source§fn validate_semantics(&self) -> Vec<Diagnostic>
fn validate_semantics(&self) -> Vec<Diagnostic>
Semantic validation — best-practice warnings, hints, and info. Read more
Source§fn validate(&self) -> ValidationResult
fn validate(&self) -> ValidationResult
Full validation: structure + semantics combined.
Source§impl Debug for K8sServiceAccount
impl Debug for K8sServiceAccount
Source§impl<'de> Deserialize<'de> for K8sServiceAccount
impl<'de> Deserialize<'de> for K8sServiceAccount
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
Auto Trait Implementations§
impl Freeze for K8sServiceAccount
impl RefUnwindSafe for K8sServiceAccount
impl Send for K8sServiceAccount
impl Sync for K8sServiceAccount
impl Unpin for K8sServiceAccount
impl UnsafeUnpin for K8sServiceAccount
impl UnwindSafe for K8sServiceAccount
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