pub enum AssignmentStep<E> {
Field(String),
Index(Box<E>),
Slice {
lower: Option<Box<E>>,
upper: Option<Box<E>>,
},
}Variants§
Trait Implementations§
Source§impl<E: Clone> Clone for AssignmentStep<E>
impl<E: Clone> Clone for AssignmentStep<E>
Source§impl<E: Debug> Debug for AssignmentStep<E>
impl<E: Debug> Debug for AssignmentStep<E>
Source§impl<'de, E> Deserialize<'de> for AssignmentStep<E>where
E: Deserialize<'de>,
impl<'de, E> Deserialize<'de> for AssignmentStep<E>where
E: Deserialize<'de>,
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<E: PartialEq> PartialEq for AssignmentStep<E>
impl<E: PartialEq> PartialEq for AssignmentStep<E>
Source§impl<E> Serialize for AssignmentStep<E>where
E: Serialize,
impl<E> Serialize for AssignmentStep<E>where
E: Serialize,
impl<E: PartialEq> StructuralPartialEq for AssignmentStep<E>
Auto Trait Implementations§
impl<E> Freeze for AssignmentStep<E>
impl<E> RefUnwindSafe for AssignmentStep<E>
impl<E> Send for AssignmentStep<E>
impl<E> Sync for AssignmentStep<E>
impl<E> Unpin for AssignmentStep<E>
impl<E> UnsafeUnpin for AssignmentStep<E>
impl<E> UnwindSafe for AssignmentStep<E>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more