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 copy 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<'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§fn eq(&self, other: &ExpandedPermissionTree) -> bool
fn eq(&self, other: &ExpandedPermissionTree) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ExpandedPermissionTree
impl Serialize for ExpandedPermissionTree
impl StructuralPartialEq for ExpandedPermissionTree
Auto Trait Implementations§
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