pub struct DataProtectionSection {
pub enable_classic_key_protection: Option<bool>,
}Expand description
DataProtectionSection : We need the fields to be pointers as we use the same struct for partial updates as well
Fields§
§enable_classic_key_protection: Option<bool>Implementations§
Source§impl DataProtectionSection
impl DataProtectionSection
Sourcepub fn new() -> DataProtectionSection
pub fn new() -> DataProtectionSection
We need the fields to be pointers as we use the same struct for partial updates as well
Trait Implementations§
Source§impl Clone for DataProtectionSection
impl Clone for DataProtectionSection
Source§fn clone(&self) -> DataProtectionSection
fn clone(&self) -> DataProtectionSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DataProtectionSection
impl Debug for DataProtectionSection
Source§impl Default for DataProtectionSection
impl Default for DataProtectionSection
Source§fn default() -> DataProtectionSection
fn default() -> DataProtectionSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataProtectionSection
impl<'de> Deserialize<'de> for DataProtectionSection
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 DataProtectionSection
impl PartialEq for DataProtectionSection
Source§fn eq(&self, other: &DataProtectionSection) -> bool
fn eq(&self, other: &DataProtectionSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataProtectionSection
impl Serialize for DataProtectionSection
impl StructuralPartialEq for DataProtectionSection
Auto Trait Implementations§
impl Freeze for DataProtectionSection
impl RefUnwindSafe for DataProtectionSection
impl Send for DataProtectionSection
impl Sync for DataProtectionSection
impl Unpin for DataProtectionSection
impl UnsafeUnpin for DataProtectionSection
impl UnwindSafe for DataProtectionSection
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