pub struct K8sPVC {
pub api_version: String,
pub kind: String,
pub metadata: K8sMetadata,
pub spec: PVCSpec,
}Fields§
§api_version: String§kind: String§metadata: K8sMetadata§spec: PVCSpecTrait Implementations§
Source§impl ConfigValidator for K8sPVC
impl ConfigValidator for K8sPVC
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<'de> Deserialize<'de> for K8sPVC
impl<'de> Deserialize<'de> for K8sPVC
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<K8sPVC, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<K8sPVC, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for K8sPVC
impl Serialize for K8sPVC
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for K8sPVC
impl RefUnwindSafe for K8sPVC
impl Send for K8sPVC
impl Sync for K8sPVC
impl Unpin for K8sPVC
impl UnsafeUnpin for K8sPVC
impl UnwindSafe for K8sPVC
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