Struct google_books1::LayerMethods[][src]

pub struct LayerMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

A builder providing access to all methods supported on layer resources. It is not used directly, but through the Books hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_books1 as books1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use books1::Books;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = Books::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `annotation_data_get(...)`, `annotation_data_list(...)`, `get(...)`, `list(...)`, `volume_annotations_get(...)` and `volume_annotations_list(...)`
// to build up your call.
let rb = hub.layers();

Methods

impl<'a, C, A> LayerMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

Gets the annotation data.

Arguments

  • volumeId - The volume to retrieve annotations for.
  • layerId - The ID for the layer to get the annotations.
  • annotationDataId - The ID of the annotation data to retrieve.
  • contentVersion - The content version for the volume you are trying to retrieve.

Create a builder to help you perform the following task:

Gets the volume annotation.

Arguments

  • volumeId - The volume to retrieve annotations for.
  • layerId - The ID for the layer to get the annotations.
  • annotationId - The ID of the volume annotation to retrieve.

Create a builder to help you perform the following task:

List the layer summaries for a volume.

Arguments

  • volumeId - The volume to retrieve layers for.

Create a builder to help you perform the following task:

Gets the layer summary for a volume.

Arguments

  • volumeId - The volume to retrieve layers for.
  • summaryId - The ID for the layer to get the summary for.

Create a builder to help you perform the following task:

Gets the volume annotations for a volume and layer.

Arguments

  • volumeId - The volume to retrieve annotations for.
  • layerId - The ID for the layer to get the annotations.
  • contentVersion - The content version for the requested volume.

Create a builder to help you perform the following task:

Gets the annotation data for a volume and layer.

Arguments

  • volumeId - The volume to retrieve annotation data for.
  • layerId - The ID for the layer to get the annotation data.
  • contentVersion - The content version for the requested volume.

Trait Implementations

impl<'a, C, A> MethodsBuilder for LayerMethods<'a, C, A>
[src]

Auto Trait Implementations

impl<'a, C, A> !Send for LayerMethods<'a, C, A>

impl<'a, C, A> !Sync for LayerMethods<'a, C, A>