pub enum FieldPathSegment {
Name(&'static str),
Index(usize),
}Expand description
One step of a FieldPath.
Variants§
Name(&'static str)
A declared field, by the name a form submits.
Index(usize)
An element of an array, counting from zero in the order the elements arrived.
Trait Implementations§
Source§impl Clone for FieldPathSegment
impl Clone for FieldPathSegment
impl Copy for FieldPathSegment
Source§impl Debug for FieldPathSegment
impl Debug for FieldPathSegment
impl Eq for FieldPathSegment
Source§impl Hash for FieldPathSegment
impl Hash for FieldPathSegment
Source§impl PartialEq for FieldPathSegment
impl PartialEq for FieldPathSegment
impl StructuralPartialEq for FieldPathSegment
Auto Trait Implementations§
impl Forget for FieldPathSegment
impl Freeze for FieldPathSegment
impl RefUnwindSafe for FieldPathSegment
impl Send for FieldPathSegment
impl Sync for FieldPathSegment
impl Unpin for FieldPathSegment
impl UnsafeUnpin for FieldPathSegment
impl UnwindSafe for FieldPathSegment
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