pub struct OTAUpdatesContext {
pub channel: Annotated<String>,
pub runtime_version: Annotated<String>,
pub update_id: Annotated<String>,
pub other: Object<Value>,
}
Expand description
OTA (Expo) Updates context.
Contains the OTA Updates constants present when the event was created.
Fields§
§channel: Annotated<String>
The channel name of the current build, if configured for use with EAS Update.
runtime_version: Annotated<String>
The runtime version of the current build.
update_id: Annotated<String>
The UUID that uniquely identifies the currently running update.
other: Object<Value>
Additional arbitrary fields for forwards compatibility.
Trait Implementations§
Source§impl Clone for OTAUpdatesContext
impl Clone for OTAUpdatesContext
Source§fn clone(&self) -> OTAUpdatesContext
fn clone(&self) -> OTAUpdatesContext
Returns a copy 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 OTAUpdatesContext
impl Debug for OTAUpdatesContext
Source§impl Default for OTAUpdatesContext
impl Default for OTAUpdatesContext
Source§fn default() -> OTAUpdatesContext
fn default() -> OTAUpdatesContext
Returns the “default value” for a type. Read more
Source§impl DefaultContext for OTAUpdatesContext
impl DefaultContext for OTAUpdatesContext
Source§fn default_key() -> &'static str
fn default_key() -> &'static str
The default key at which this context resides in
Contexts
.Source§fn from_context(context: Context) -> Option<Self>
fn from_context(context: Context) -> Option<Self>
Converts this context type from a generic context type. Read more
Source§fn cast(context: &Context) -> Option<&Self>
fn cast(context: &Context) -> Option<&Self>
Casts a reference to this context type from a generic context type. Read more
Source§fn cast_mut(context: &mut Context) -> Option<&mut Self>
fn cast_mut(context: &mut Context) -> Option<&mut Self>
Casts a mutable reference to this context type from a generic context type. Read more
Source§fn into_context(self) -> Context
fn into_context(self) -> Context
Boxes this context type in the generic context wrapper. Read more
Source§impl Empty for OTAUpdatesContext
impl Empty for OTAUpdatesContext
Source§impl FromObjectRef for OTAUpdatesContext
impl FromObjectRef for OTAUpdatesContext
Source§fn from_object_ref(__obj: &mut Object<Value>) -> Self
fn from_object_ref(__obj: &mut Object<Value>) -> Self
Creates a meta structure from key value pairs. Read more
Source§impl FromValue for OTAUpdatesContext
impl FromValue for OTAUpdatesContext
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 IntoObjectRef for OTAUpdatesContext
impl IntoObjectRef for OTAUpdatesContext
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 OTAUpdatesContext
impl IntoValue for OTAUpdatesContext
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 PartialEq for OTAUpdatesContext
impl PartialEq for OTAUpdatesContext
Source§impl ProcessValue for OTAUpdatesContext
impl ProcessValue for OTAUpdatesContext
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 OTAUpdatesContext
Auto Trait Implementations§
impl Freeze for OTAUpdatesContext
impl RefUnwindSafe for OTAUpdatesContext
impl Send for OTAUpdatesContext
impl Sync for OTAUpdatesContext
impl Unpin for OTAUpdatesContext
impl UnwindSafe for OTAUpdatesContext
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> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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