pub struct ActionAttrs {
pub typ: Box<str>,
pub sub_typ: Option<Box<str>>,
pub tenant_id_tag: Box<str>,
pub issuer_id_tag: Box<str>,
pub parent_id: Option<Box<str>>,
pub root_id: Option<Box<str>>,
pub audience_tag: Vec<Box<str>>,
pub tags: Vec<Box<str>>,
pub visibility: Box<str>,
pub following: bool,
pub connected: bool,
}Expand description
Action attributes for ABAC
Fields§
§typ: Box<str>§sub_typ: Option<Box<str>>§tenant_id_tag: Box<str>The tenant/instance where this action is stored (NOT the creator - see issuer_id_tag)
issuer_id_tag: Box<str>The original creator/sender of the action
parent_id: Option<Box<str>>§root_id: Option<Box<str>>§audience_tag: Vec<Box<str>>§visibility: Box<str>§following: boolWhether the subject follows the action issuer
connected: boolWhether the subject is connected (mutual) with the action issuer
Trait Implementations§
Source§impl AttrSet for ActionAttrs
impl AttrSet for ActionAttrs
Source§impl Clone for ActionAttrs
impl Clone for ActionAttrs
Source§fn clone(&self) -> ActionAttrs
fn clone(&self) -> ActionAttrs
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 moreAuto Trait Implementations§
impl Freeze for ActionAttrs
impl RefUnwindSafe for ActionAttrs
impl Send for ActionAttrs
impl Sync for ActionAttrs
impl Unpin for ActionAttrs
impl UnsafeUnpin for ActionAttrs
impl UnwindSafe for ActionAttrs
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