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
sourceimpl Clone for ManagementLockProperties
impl Clone for ManagementLockProperties
sourcefn clone(&self) -> ManagementLockProperties
fn clone(&self) -> ManagementLockProperties
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 moresourceimpl Debug for ManagementLockProperties
impl Debug for ManagementLockProperties
sourceimpl<'de> Deserialize<'de> for ManagementLockProperties
impl<'de> Deserialize<'de> for ManagementLockProperties
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<ManagementLockProperties> for ManagementLockProperties
impl PartialEq<ManagementLockProperties> for ManagementLockProperties
sourcefn eq(&self, other: &ManagementLockProperties) -> bool
fn eq(&self, other: &ManagementLockProperties) -> bool
sourceimpl Serialize for ManagementLockProperties
impl Serialize for ManagementLockProperties
impl StructuralPartialEq for ManagementLockProperties
Auto Trait Implementations
impl RefUnwindSafe for ManagementLockProperties
impl Send for ManagementLockProperties
impl Sync for ManagementLockProperties
impl Unpin for ManagementLockProperties
impl UnwindSafe for ManagementLockProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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