Struct relay_event_schema::processor::Path
source · pub struct Path<'a>(/* private fields */);
Expand description
Represents the ProcessingState
as a path.
This is a view of a ProcessingState
which treats the stack of states as a path.
Implementations§
source§impl<'a> Path<'a>
impl<'a> Path<'a>
sourcepub fn depth(&self) -> usize
pub fn depth(&self) -> usize
Return the depth (~ indentation level) of the currently processed value.
sourcepub fn attrs(&self) -> &FieldAttrs
pub fn attrs(&self) -> &FieldAttrs
Returns the field attributes of the current path item.
sourcepub fn iter(&self) -> ProcessingStateIter<'_> ⓘ
pub fn iter(&self) -> ProcessingStateIter<'_> ⓘ
Iterates through the states in this path.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Path<'a>
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> Send for Path<'a>
impl<'a> Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnwindSafe for Path<'a>
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