Struct sentry_types::protocol::v7::Values [−][src]
pub struct Values<T> { pub values: Vec<T>, }
Expand description
A wrapper type for collections with attached meta data.
The JSON payload can either directly be an array or an object containing a values
field and
arbitrary other fields. All other fields will be collected into Values::data
when
deserializing and re-serialized in the same place. The shorthand array notation is always
reserialized as object.
Fields
values: Vec<T>
The values of the collection.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Values<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Values<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more