pub enum AttributePathStep {
Attribute(Cow<'static, str>),
Key(Cow<'static, str>),
Index(i64),
}Expand description
Single step of an AttributePath
Variants§
Attribute(Cow<'static, str>)
Attribute access: .foo
Key(Cow<'static, str>)
String subscript: ["foo"]
Index(i64)
Integer subscript: [1]
Trait Implementations§
Source§impl Add<AttributePathStep> for AttributePath
impl Add<AttributePathStep> for AttributePath
Source§type Output = AttributePath
type Output = AttributePath
The resulting type after applying the
+ operator.Source§impl Add for AttributePathStep
impl Add for AttributePathStep
Source§type Output = AttributePath
type Output = AttributePath
The resulting type after applying the
+ operator.Source§impl AddAssign<AttributePathStep> for AttributePath
impl AddAssign<AttributePathStep> for AttributePath
Source§fn add_assign(&mut self, rhs: AttributePathStep)
fn add_assign(&mut self, rhs: AttributePathStep)
Performs the
+= operation. Read moreSource§impl Clone for AttributePathStep
impl Clone for AttributePathStep
Source§fn clone(&self) -> AttributePathStep
fn clone(&self) -> AttributePathStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributePathStep
impl Debug for AttributePathStep
Source§impl Display for AttributePathStep
impl Display for AttributePathStep
Source§impl From<AttributePathStep> for AttributePath
impl From<AttributePathStep> for AttributePath
Source§fn from(value: AttributePathStep) -> Self
fn from(value: AttributePathStep) -> Self
Converts to this type from the input type.
Source§impl Hash for AttributePathStep
impl Hash for AttributePathStep
Source§impl PartialEq for AttributePathStep
impl PartialEq for AttributePathStep
impl Eq for AttributePathStep
impl StructuralPartialEq for AttributePathStep
Auto Trait Implementations§
impl Freeze for AttributePathStep
impl RefUnwindSafe for AttributePathStep
impl Send for AttributePathStep
impl Sync for AttributePathStep
impl Unpin for AttributePathStep
impl UnwindSafe for AttributePathStep
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request