pub struct Route {
    pub name: Annotated<String>,
    pub params: Annotated<Object<Value>>,
    pub other: Object<Value>,
}Expand description
The route in the application, set by React Native SDK.
Fields§
§name: Annotated<String>The name of the route.
params: Annotated<Object<Value>>Parameters assigned to this route.
other: Object<Value>Additional arbitrary fields for forwards compatibility.
Trait Implementations§
Source§impl FromValue for Route
 
impl FromValue for Route
Source§fn from_value(value: Annotated<Value>) -> Annotated<Self>where
    Self: Sized,
 
fn from_value(value: Annotated<Value>) -> Annotated<Self>where
    Self: Sized,
Creates a meta structure from an annotated boxed value.
Source§impl IntoObjectRef for Route
 
impl IntoObjectRef for Route
Source§fn into_object_ref(self, __map: &mut Object<Value>)
 
fn into_object_ref(self, __map: &mut Object<Value>)
Boxes the meta structure back into an object of values. Read more
Source§impl IntoValue for Route
 
impl IntoValue for Route
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 Route
 
impl ProcessValue for Route
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 Route
Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnwindSafe for Route
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