Struct google_fusiontables2::StyleMethods[][src]

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

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

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_fusiontables2 as fusiontables2;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use fusiontables2::Fusiontables;
 
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 = Fusiontables::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 `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)`
// to build up your call.
let rb = hub.style();

Methods

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

Create a builder to help you perform the following task:

Retrieves a list of styles.

Arguments

  • tableId - Table whose styles are being listed

Create a builder to help you perform the following task:

Updates an existing style.

Arguments

  • request - No description provided.
  • tableId - Table whose style is being updated.
  • styleId - Identifier (within a table) for the style being updated.

Create a builder to help you perform the following task:

Adds a new style for the table.

Arguments

  • request - No description provided.
  • tableId - Table for which a new style is being added

Create a builder to help you perform the following task:

Gets a specific style.

Arguments

  • tableId - Table to which the requested style belongs
  • styleId - Identifier (integer) for a specific style in a table

Create a builder to help you perform the following task:

Deletes a style.

Arguments

  • tableId - Table from which the style is being deleted
  • styleId - Identifier (within a table) for the style being deleted

Create a builder to help you perform the following task:

Updates an existing style. This method supports patch semantics.

Arguments

  • request - No description provided.
  • tableId - Table whose style is being updated.
  • styleId - Identifier (within a table) for the style being updated.

Trait Implementations

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

Auto Trait Implementations

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

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