Struct sentry_core::protocol::SessionAggregates
source · [−]pub struct SessionAggregates<'a> {
pub aggregates: Vec<SessionAggregateItem, Global>,
pub attributes: SessionAttributes<'a>,
}
Expand description
An Aggregation of Release Health Sessions
For request-mode sessions, sessions will be aggregated instead of being sent as individual updates.
Fields
aggregates: Vec<SessionAggregateItem, Global>
A batch of sessions that were started.
attributes: SessionAttributes<'a>
The shared session event attributes.
Trait Implementations
sourceimpl<'a> Clone for SessionAggregates<'a>
impl<'a> Clone for SessionAggregates<'a>
sourcefn clone(&self) -> SessionAggregates<'a>
fn clone(&self) -> SessionAggregates<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for SessionAggregates<'a>
impl<'a> Debug for SessionAggregates<'a>
sourceimpl<'de, 'a> Deserialize<'de> for SessionAggregates<'a>
impl<'de, 'a> Deserialize<'de> for SessionAggregates<'a>
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SessionAggregates<'a>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SessionAggregates<'a>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SessionAggregates<'static>> for EnvelopeItem
impl From<SessionAggregates<'static>> for EnvelopeItem
sourcefn from(aggregates: SessionAggregates<'static>) -> EnvelopeItem
fn from(aggregates: SessionAggregates<'static>) -> EnvelopeItem
Converts to this type from the input type.
sourceimpl<'a> PartialEq<SessionAggregates<'a>> for SessionAggregates<'a>
impl<'a> PartialEq<SessionAggregates<'a>> for SessionAggregates<'a>
sourcefn eq(&self, other: &SessionAggregates<'a>) -> bool
fn eq(&self, other: &SessionAggregates<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SessionAggregates<'a>) -> bool
fn ne(&self, other: &SessionAggregates<'a>) -> bool
This method tests for !=
.
sourceimpl<'a> Serialize for SessionAggregates<'a>
impl<'a> Serialize for SessionAggregates<'a>
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'a> StructuralPartialEq for SessionAggregates<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SessionAggregates<'a>
impl<'a> Send for SessionAggregates<'a>
impl<'a> Sync for SessionAggregates<'a>
impl<'a> Unpin for SessionAggregates<'a>
impl<'a> UnwindSafe for SessionAggregates<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more