Enum fuchsia_inspect::reader::ArrayContent
source · Expand description
Represents the content of a DiagnosticsHierarchy array property: a regular array or a linear/exponential histogram.
Variants§
Values(Vec<T, Global>)
The contents of an array.
Buckets(Vec<Bucket<T>, Global>)
The contents of a histogram.
Implementations§
Trait Implementations§
source§impl<T> Clone for ArrayContent<T>where
T: Clone,
impl<T> Clone for ArrayContent<T>where
T: Clone,
source§fn clone(&self) -> ArrayContent<T>
fn clone(&self) -> ArrayContent<T>
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<T> Debug for ArrayContent<T>where
T: Debug,
impl<T> Debug for ArrayContent<T>where
T: Debug,
source§impl<T> PartialEq<ArrayContent<T>> for ArrayContent<T>where
T: PartialEq<T>,
impl<T> PartialEq<ArrayContent<T>> for ArrayContent<T>where
T: PartialEq<T>,
source§fn eq(&self, other: &ArrayContent<T>) -> bool
fn eq(&self, other: &ArrayContent<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayContent<f64>
impl Serialize for ArrayContent<f64>
source§fn 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
source§impl Serialize for ArrayContent<i64>
impl Serialize for ArrayContent<i64>
source§fn 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
source§impl Serialize for ArrayContent<u64>
impl Serialize for ArrayContent<u64>
source§fn 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