pub struct AttachmentsContext {
pub rate_limited: Annotated<Array<RateLimitedAttachment>>,
pub other: Object<Value>,
}Expand description
Information about attachments of the event.
Fields§
§rate_limited: Annotated<Array<RateLimitedAttachment>>Attachments that Relay rate limited.
other: Object<Value>Additional arbitrary fields for forwards compatibility.
Trait Implementations§
Source§impl Clone for AttachmentsContext
impl Clone for AttachmentsContext
Source§impl Debug for AttachmentsContext
impl Debug for AttachmentsContext
Source§impl Default for AttachmentsContext
impl Default for AttachmentsContext
Source§impl DefaultContext for AttachmentsContext
impl DefaultContext for AttachmentsContext
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 AttachmentsContext
impl Empty for AttachmentsContext
Source§impl FromObjectRef for AttachmentsContext
impl FromObjectRef for AttachmentsContext
Source§impl FromValue for AttachmentsContext
impl FromValue for AttachmentsContext
Source§impl IntoObjectRef for AttachmentsContext
impl IntoObjectRef for AttachmentsContext
Source§impl IntoValue for AttachmentsContext
impl IntoValue for AttachmentsContext
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.
Source§impl PartialEq for AttachmentsContext
impl PartialEq for AttachmentsContext
Source§impl ProcessValue for AttachmentsContext
impl ProcessValue for AttachmentsContext
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 AttachmentsContext
Auto Trait Implementations§
impl Freeze for AttachmentsContext
impl RefUnwindSafe for AttachmentsContext
impl Send for AttachmentsContext
impl Sync for AttachmentsContext
impl Unpin for AttachmentsContext
impl UnsafeUnpin for AttachmentsContext
impl UnwindSafe for AttachmentsContext
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