Struct gapi_grpc::google::logging::v2::CreateLogMetricRequest[][src]

pub struct CreateLogMetricRequest {
    pub parent: String,
    pub metric: Option<LogMetric>,
}
[]

The parameters to CreateLogMetric.

Fields

parent: String
[]

Required. The resource name of the project in which to create the metric:

"projects/[PROJECT_ID]"

The new metric must be provided in the request.

metric: Option<LogMetric>
[]

Required. The new logs-based metric, which must not have an identifier that already exists.

Trait Implementations

impl Clone for CreateLogMetricRequest[src][+]

impl Debug for CreateLogMetricRequest[src][+]

impl Default for CreateLogMetricRequest[src][+]

impl Message for CreateLogMetricRequest[src][+]

impl PartialEq<CreateLogMetricRequest> for CreateLogMetricRequest[src][+]

impl StructuralPartialEq for CreateLogMetricRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateLogMetricRequest

impl Send for CreateLogMetricRequest

impl Sync for CreateLogMetricRequest

impl Unpin for CreateLogMetricRequest

impl UnwindSafe for CreateLogMetricRequest

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][+]