pub struct MetadataRecord {
pub metadata_values: Option<Vec<Value>>,
pub value: Option<Box<Value>>,
}Expand description
MetadataRecord : A complex type that defines the data records returned in the report.
Fields§
§metadata_values: Option<Vec<Value>>A list of data in a row returned in the traffic report. The data in each of the cells match the labels in headers of the report.
value: Option<Box<Value>>Implementations§
Source§impl MetadataRecord
impl MetadataRecord
Sourcepub fn new() -> MetadataRecord
pub fn new() -> MetadataRecord
A complex type that defines the data records returned in the report.
Trait Implementations§
Source§impl Clone for MetadataRecord
impl Clone for MetadataRecord
Source§fn clone(&self) -> MetadataRecord
fn clone(&self) -> MetadataRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetadataRecord
impl Debug for MetadataRecord
Source§impl Default for MetadataRecord
impl Default for MetadataRecord
Source§fn default() -> MetadataRecord
fn default() -> MetadataRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataRecord
impl<'de> Deserialize<'de> for MetadataRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetadataRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetadataRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MetadataRecord
impl PartialEq for MetadataRecord
Source§impl Serialize for MetadataRecord
impl Serialize for MetadataRecord
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
impl StructuralPartialEq for MetadataRecord
Auto Trait Implementations§
impl Freeze for MetadataRecord
impl RefUnwindSafe for MetadataRecord
impl Send for MetadataRecord
impl Sync for MetadataRecord
impl Unpin for MetadataRecord
impl UnsafeUnpin for MetadataRecord
impl UnwindSafe for MetadataRecord
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