pub struct PermissionMatrix {
pub read: Vec<String>,
pub write: Vec<String>,
pub lock: Vec<String>,
}Expand description
Permission matrix for agent access control.
Fields§
§read: Vec<String>§write: Vec<String>§lock: Vec<String>Trait Implementations§
Source§impl Clone for PermissionMatrix
impl Clone for PermissionMatrix
Source§fn clone(&self) -> PermissionMatrix
fn clone(&self) -> PermissionMatrix
Returns a duplicate 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 PermissionMatrix
impl Debug for PermissionMatrix
Source§impl Default for PermissionMatrix
impl Default for PermissionMatrix
Source§fn default() -> PermissionMatrix
fn default() -> PermissionMatrix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PermissionMatrix
impl<'de> Deserialize<'de> for PermissionMatrix
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 PermissionMatrix
impl PartialEq for PermissionMatrix
Source§impl Serialize for PermissionMatrix
impl Serialize for PermissionMatrix
impl StructuralPartialEq for PermissionMatrix
Auto Trait Implementations§
impl Freeze for PermissionMatrix
impl RefUnwindSafe for PermissionMatrix
impl Send for PermissionMatrix
impl Sync for PermissionMatrix
impl Unpin for PermissionMatrix
impl UnwindSafe for PermissionMatrix
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