Struct gapi_grpc::google::example::library::v1::Shelf[][src]

pub struct Shelf {
    pub name: String,
    pub theme: String,
}

A Shelf contains a collection of books with a theme.

Fields

name: String

The resource name of the shelf. Shelf names have the form shelves/{shelf_id}. The name is ignored when creating a shelf.

theme: String

The theme of the shelf

Trait Implementations

impl Clone for Shelf[src]

impl Debug for Shelf[src]

impl Default for Shelf[src]

impl Message for Shelf[src]

impl PartialEq<Shelf> for Shelf[src]

impl StructuralPartialEq for Shelf[src]

Auto Trait Implementations

impl RefUnwindSafe for Shelf

impl Send for Shelf

impl Sync for Shelf

impl Unpin for Shelf

impl UnwindSafe for Shelf

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]