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: TypeEnum
The 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<ExpandedPermissionTree> for ExpandedPermissionTree
impl PartialEq<ExpandedPermissionTree> 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 ==
.