Struct cedar_policy_core::parser::cst::Name
source · pub struct Name {
pub path: Vec<ASTNode<Option<Ident>>>,
pub name: ASTNode<Option<Ident>>,
}
Expand description
UID and Type of named items
Fields§
§path: Vec<ASTNode<Option<Ident>>>
path, like: “name0::name1::name”
name: ASTNode<Option<Ident>>
Singleton name
Trait Implementations§
source§impl PartialEq<Name> for Name
impl PartialEq<Name> for Name
source§impl TryFrom<Name> for Expr
impl TryFrom<Name> for Expr
§type Error = ParseErrors
type Error = ParseErrors
The type returned in the event of a conversion error.
impl Eq for Name
impl StructuralEq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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