Enum v_authorization::common::Access
source · #[repr(u8)]
pub enum Access {
CanCreate,
CanRead,
CanUpdate,
CanDelete,
CantCreate,
CantRead,
CantUpdate,
CantDelete,
}
Expand description
Битовые поля для прав
Variants
CanCreate
Создание
CanRead
Чтение
CanUpdate
Изменеие
CanDelete
Удаление
CantCreate
Запрет создания
CantRead
Запрет чтения
CantUpdate
Запрет обновления
CantDelete
Запрет удаления
Trait Implementations
impl Eq for Access
impl StructuralEq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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