Struct gapi_grpc::google::api::LogDescriptor[][src]

pub struct LogDescriptor {
    pub name: String,
    pub labels: Vec<LabelDescriptor>,
    pub description: String,
    pub display_name: String,
}

A description of a log type. Example in YAML format:

- name: library.googleapis.com/activity_history
  description: The history of borrowing and returning library items.
  display_name: Activity
  labels:
  - key: /customer_id
    description: Identifier of a library customer

Fields

name: String

The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].

labels: Vec<LabelDescriptor>

The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.

description: String

A human-readable description of this log. This information appears in the documentation and can contain details.

display_name: String

The human-readable name for this log. This information appears on the user interface and should be concise.

Trait Implementations

impl Clone for LogDescriptor[src]

impl Debug for LogDescriptor[src]

impl Default for LogDescriptor[src]

impl Message for LogDescriptor[src]

impl PartialEq<LogDescriptor> for LogDescriptor[src]

impl StructuralPartialEq for LogDescriptor[src]

Auto Trait Implementations

impl RefUnwindSafe for LogDescriptor

impl Send for LogDescriptor

impl Sync for LogDescriptor

impl Unpin for LogDescriptor

impl UnwindSafe for LogDescriptor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]