Struct k8s_openapi::api::policy::v1beta1::AllowedCSIDriver
source · [−]pub struct AllowedCSIDriver {
pub name: String,
}
Expand description
AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
Fields
name: String
Name is the registered name of the CSI driver
Trait Implementations
sourceimpl Clone for AllowedCSIDriver
impl Clone for AllowedCSIDriver
sourcefn clone(&self) -> AllowedCSIDriver
fn clone(&self) -> AllowedCSIDriver
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AllowedCSIDriver
impl Debug for AllowedCSIDriver
sourceimpl Default for AllowedCSIDriver
impl Default for AllowedCSIDriver
sourcefn default() -> AllowedCSIDriver
fn default() -> AllowedCSIDriver
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AllowedCSIDriver
impl<'de> Deserialize<'de> for AllowedCSIDriver
sourcefn 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
sourceimpl PartialEq<AllowedCSIDriver> for AllowedCSIDriver
impl PartialEq<AllowedCSIDriver> for AllowedCSIDriver
sourcefn eq(&self, other: &AllowedCSIDriver) -> bool
fn eq(&self, other: &AllowedCSIDriver) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AllowedCSIDriver) -> bool
fn ne(&self, other: &AllowedCSIDriver) -> bool
This method tests for !=
.
sourceimpl Serialize for AllowedCSIDriver
impl Serialize for AllowedCSIDriver
impl StructuralPartialEq for AllowedCSIDriver
Auto Trait Implementations
impl RefUnwindSafe for AllowedCSIDriver
impl Send for AllowedCSIDriver
impl Sync for AllowedCSIDriver
impl Unpin for AllowedCSIDriver
impl UnwindSafe for AllowedCSIDriver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more