Struct googapis::google::analytics::data::v1beta::ResponseMetaData [−][src]
pub struct ResponseMetaData {
pub data_loss_from_other_row: bool,
pub schema_restriction_response: Option<SchemaRestrictionResponse>,
pub currency_code: Option<String>,
pub time_zone: Option<String>,
pub empty_reason: Option<String>,
}
Expand description
Response’s metadata carrying additional information about the report content.
Fields
data_loss_from_other_row: bool
If true, indicates some buckets of dimension combinations are rolled into “(other)” row. This can happen for high cardinality reports.
schema_restriction_response: Option<SchemaRestrictionResponse>
Describes the schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management.
currency_code: Option<String>
The currency code used in this report. Intended to be used in formatting
currency metrics like purchaseRevenue
for visualization. If currency_code
was specified in the request, this response parameter will echo the request
parameter; otherwise, this response parameter is the property’s current
currency_code.
Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example “USD”, “EUR”, “JPY”. To learn more, see https://support.google.com/analytics/answer/9796179.
time_zone: Option<String>
The property’s current timezone. Intended to be used to interpret
time-based dimensions like hour
and minute
. Formatted as strings from
the IANA Time Zone database (https://www.iana.org/time-zones); for example
“America/New_York” or “Asia/Tokyo”.
empty_reason: Option<String>
If empty reason is specified, the report is empty for this reason.
Implementations
Returns the value of currency_code
, or the default value if currency_code
is unset.
Returns the value of time_zone
, or the default value if time_zone
is unset.
Returns the value of empty_reason
, or the default value if empty_reason
is unset.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResponseMetaData
impl Send for ResponseMetaData
impl Sync for ResponseMetaData
impl Unpin for ResponseMetaData
impl UnwindSafe for ResponseMetaData
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more