Struct google_logging2::api::LoggingQuery
source · pub struct LoggingQuery {
pub filter: Option<String>,
pub summary_field_end: Option<i32>,
pub summary_field_start: Option<i32>,
pub summary_fields: Option<Vec<SummaryField>>,
}
Expand description
Describes a Cloud Logging query that can be run in Logs Explorer UI or via the logging API.In addition to the query itself, additional information may be stored to capture the display configuration and other UI state used in association with analysis of query results.
This type is not used in any activity, and only used as part of another schema.
Fields§
§filter: Option<String>
Required. An advanced query using the Logging Query Language (https://cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters.
summary_field_end: Option<i32>
Characters will be counted from the end of the string.
summary_field_start: Option<i32>
Characters will be counted from the start of the string.
summary_fields: Option<Vec<SummaryField>>
Optional. The set of summary fields to display for this saved query.
Trait Implementations§
source§impl Clone for LoggingQuery
impl Clone for LoggingQuery
source§fn clone(&self) -> LoggingQuery
fn clone(&self) -> LoggingQuery
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 Debug for LoggingQuery
impl Debug for LoggingQuery
source§impl Default for LoggingQuery
impl Default for LoggingQuery
source§fn default() -> LoggingQuery
fn default() -> LoggingQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingQuery
impl<'de> Deserialize<'de> for LoggingQuery
source§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
source§impl Serialize for LoggingQuery
impl Serialize for LoggingQuery
impl Part for LoggingQuery
Auto Trait Implementations§
impl RefUnwindSafe for LoggingQuery
impl Send for LoggingQuery
impl Sync for LoggingQuery
impl Unpin for LoggingQuery
impl UnwindSafe for LoggingQuery
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