pub struct TagEntry(pub Annotated<String>, pub Annotated<String>);
Tuple Fields§
§0: Annotated<String>
§1: Annotated<String>
Trait Implementations§
source§impl AsPair for TagEntry
impl AsPair for TagEntry
type Key = String
type Value = String
source§fn from_pair(pair: (Annotated<Self::Key>, Annotated<Self::Value>)) -> Self
fn from_pair(pair: (Annotated<Self::Key>, Annotated<Self::Value>)) -> Self
Constructs this value from a raw tuple.
source§fn into_pair(self) -> (Annotated<Self::Key>, Annotated<Self::Value>)
fn into_pair(self) -> (Annotated<Self::Key>, Annotated<Self::Value>)
Converts this pair into a raw tuple.
source§fn as_pair(&self) -> (&Annotated<Self::Key>, &Annotated<Self::Value>)
fn as_pair(&self) -> (&Annotated<Self::Key>, &Annotated<Self::Value>)
Extracts a key and value pair from the object.
source§fn as_pair_mut(
&mut self,
) -> (&mut Annotated<Self::Key>, &mut Annotated<Self::Value>)
fn as_pair_mut( &mut self, ) -> (&mut Annotated<Self::Key>, &mut Annotated<Self::Value>)
Extracts the mutable key and value pair from the object.
source§impl FromValue for TagEntry
impl FromValue for TagEntry
source§fn from_value(value: Annotated<Value>) -> Annotated<Self>
fn from_value(value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for TagEntry
impl IntoValue for TagEntry
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl ProcessValue for TagEntry
impl ProcessValue for TagEntry
source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for TagEntry
Auto Trait Implementations§
impl Freeze for TagEntry
impl RefUnwindSafe for TagEntry
impl Send for TagEntry
impl Sync for TagEntry
impl Unpin for TagEntry
impl UnwindSafe for TagEntry
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)