pub struct RefDecl {
pub scope: String,
pub field: String,
pub container: String,
pub path: String,
pub role: Option<String>,
pub key_field: Option<String>,
}Fields§
§scope: StringThe node-selecting path (the ::field suffix stripped).
field: StringThe property resolved into the container.
container: String§path: StringThe target path as written, condition stripped: when no
derived container answers to the first segment, the target
is this path over the base and derived view (/кузнецова/*).
role: Option<String>The role within the container the path form names
(/tables/class), which restricts resolution to that role’s
members; None for the bare form (tables), which resolves
anywhere in the container.
key_field: Option<String>The target property the value is matched against, from the
explicit form --> /cookies/cookie[::id = $]. None is the
short form, matching the target’s default projection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefDecl
impl RefUnwindSafe for RefDecl
impl Send for RefDecl
impl Sync for RefDecl
impl Unpin for RefDecl
impl UnsafeUnpin for RefDecl
impl UnwindSafe for RefDecl
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