pub struct ManagementLockProperties {
pub level: Level,
pub notes: Option<String>,
pub owners: Vec<ManagementLockOwner>,
}
Expand description
The lock properties.
Fields§
§level: Level
The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can’t modify or delete it.
notes: Option<String>
Notes about the lock. Maximum of 512 characters.
owners: Vec<ManagementLockOwner>
The owners of the lock.
Implementations§
Trait Implementations§
source§impl Clone for ManagementLockProperties
impl Clone for ManagementLockProperties
source§fn clone(&self) -> ManagementLockProperties
fn clone(&self) -> ManagementLockProperties
Returns a copy 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 Debug for ManagementLockProperties
impl Debug for ManagementLockProperties
source§impl<'de> Deserialize<'de> for ManagementLockProperties
impl<'de> Deserialize<'de> for ManagementLockProperties
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<ManagementLockProperties> for ManagementLockProperties
impl PartialEq<ManagementLockProperties> for ManagementLockProperties
source§fn eq(&self, other: &ManagementLockProperties) -> bool
fn eq(&self, other: &ManagementLockProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.