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

pub struct Book {
    pub name: String,
    pub author: String,
    pub title: String,
    pub read: bool,
}

A single book in the library.

Fields

name: String

The resource name of the book. Book names have the form shelves/{shelf_id}/books/{book_id}. The name is ignored when creating a book.

author: String

The name of the book author.

title: String

The title of the book.

read: bool

Value indicating whether the book has been read.

Trait Implementations

impl Clone for Book[src]

impl Debug for Book[src]

impl Default for Book[src]

impl Message for Book[src]

impl PartialEq<Book> for Book[src]

impl StructuralPartialEq for Book[src]

Auto Trait Implementations

impl RefUnwindSafe for Book

impl Send for Book

impl Sync for Book

impl Unpin for Book

impl UnwindSafe for Book

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]