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

pub struct DocumentationRule {
    pub selector: String,
    pub description: String,
    pub deprecation_description: String,
}

A documentation rule provides information about individual API elements.

Fields

selector: String

The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in “”, indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. “foo.” is ok, but not “foo.b*” or “foo..bar”. A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern “” is used.

description: String

Description of the selected API(s).

deprecation_description: String

Deprecation description of the selected element(s). It can be provided if an element is marked as deprecated.

Trait Implementations

impl Clone for DocumentationRule[src]

impl Debug for DocumentationRule[src]

impl Default for DocumentationRule[src]

impl Message for DocumentationRule[src]

impl PartialEq<DocumentationRule> for DocumentationRule[src]

impl StructuralPartialEq for DocumentationRule[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentationRule

impl Send for DocumentationRule

impl Sync for DocumentationRule

impl Unpin for DocumentationRule

impl UnwindSafe for DocumentationRule

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]