pub struct PermissionDelete {
pub auth_id: i64,
pub data_id: Option<Option<Vec<i64>>>,
pub is_inherited: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Select raw assignments to delete. Omitting dataId, null or [] removes every data selection for the selected owner/authId/inheritance mode; this does not revoke access from other sources.
Fields§
§auth_id: i64Permission ID. status and person require values below 10000. Role domains also accept internal permission IDs. 10127 is obsolete and returns 410.
data_id: Option<Option<Vec<i64>>>Concrete selections to delete. Omission, null or an empty array removes all selection rows, including the null row. A nonempty array uses exact IDs; -1 only matches the unrestricted row.
None leaves the field out, Some(None) sends null.
is_inherited: Option<bool>Select inherited-source rows when true, otherwise direct rows. Only role domains allow true.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PermissionDelete
impl Clone for PermissionDelete
Source§impl Debug for PermissionDelete
impl Debug for PermissionDelete
Source§impl Default for PermissionDelete
impl Default for PermissionDelete
Source§impl<'de> Deserialize<'de> for PermissionDelete
impl<'de> Deserialize<'de> for PermissionDelete
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 PermissionDelete
impl PartialEq for PermissionDelete
Source§impl Serialize for PermissionDelete
impl Serialize for PermissionDelete
impl StructuralPartialEq for PermissionDelete
Auto Trait Implementations§
impl Forget for PermissionDelete
impl Freeze for PermissionDelete
impl Move for PermissionDelete
impl RefUnwindSafe for PermissionDelete
impl Send for PermissionDelete
impl Sync for PermissionDelete
impl Unpin for PermissionDelete
impl UnsafeUnpin for PermissionDelete
impl UnwindSafe for PermissionDelete
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