pub struct ExpandedPermissionTree {
pub children: Option<Vec<ExpandedPermissionTree>>,
pub tuple: Option<Box<Relationship>>,
pub type: TypeEnum,
}Fields§
§children: Option<Vec<ExpandedPermissionTree>>The children of the node, possibly none.
tuple: Option<Box<Relationship>>§type: TypeEnumThe type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified
Implementations§
Source§impl ExpandedPermissionTree
impl ExpandedPermissionTree
pub fn new(type: TypeEnum) -> ExpandedPermissionTree
Trait Implementations§
Source§impl Clone for ExpandedPermissionTree
impl Clone for ExpandedPermissionTree
Source§fn clone(&self) -> ExpandedPermissionTree
fn clone(&self) -> ExpandedPermissionTree
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 ExpandedPermissionTree
impl Debug for ExpandedPermissionTree
Source§impl Default for ExpandedPermissionTree
impl Default for ExpandedPermissionTree
Source§fn default() -> ExpandedPermissionTree
fn default() -> ExpandedPermissionTree
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpandedPermissionTree
impl<'de> Deserialize<'de> for ExpandedPermissionTree
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 ExpandedPermissionTree
impl PartialEq for ExpandedPermissionTree
Source§impl Serialize for ExpandedPermissionTree
impl Serialize for ExpandedPermissionTree
impl StructuralPartialEq for ExpandedPermissionTree
Auto Trait Implementations§
impl Freeze for ExpandedPermissionTree
impl RefUnwindSafe for ExpandedPermissionTree
impl Send for ExpandedPermissionTree
impl Sync for ExpandedPermissionTree
impl Unpin for ExpandedPermissionTree
impl UnwindSafe for ExpandedPermissionTree
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