Struct google_fusiontables2::ColumnMethods [−][src]
pub struct ColumnMethods<'a, C, A> where
C: 'a,
A: 'a, { /* fields omitted */ }
A builder providing access to all methods supported on column 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.column();
Methods
impl<'a, C, A> ColumnMethods<'a, C, A>
[src]
impl<'a, C, A> ColumnMethods<'a, C, A>
pub fn insert(
&self,
request: Column,
table_id: &str
) -> ColumnInsertCall<'a, C, A>
[src]
pub fn insert(
&self,
request: Column,
table_id: &str
) -> ColumnInsertCall<'a, C, A>
Create a builder to help you perform the following task:
Adds a new column to the table.
Arguments
request
- No description provided.tableId
- Table for which a new column is being added.
pub fn update(
&self,
request: Column,
table_id: &str,
column_id: &str
) -> ColumnUpdateCall<'a, C, A>
[src]
pub fn update(
&self,
request: Column,
table_id: &str,
column_id: &str
) -> ColumnUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates the name or type of an existing column.
Arguments
request
- No description provided.tableId
- Table for which the column is being updated.columnId
- Name or identifier for the column that is being updated.
pub fn list(&self, table_id: &str) -> ColumnListCall<'a, C, A>
[src]
pub fn list(&self, table_id: &str) -> ColumnListCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves a list of columns.
Arguments
tableId
- Table whose columns are being listed.
pub fn patch(
&self,
request: Column,
table_id: &str,
column_id: &str
) -> ColumnPatchCall<'a, C, A>
[src]
pub fn patch(
&self,
request: Column,
table_id: &str,
column_id: &str
) -> ColumnPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates the name or type of an existing column. This method supports patch semantics.
Arguments
request
- No description provided.tableId
- Table for which the column is being updated.columnId
- Name or identifier for the column that is being updated.
pub fn delete(
&self,
table_id: &str,
column_id: &str
) -> ColumnDeleteCall<'a, C, A>
[src]
pub fn delete(
&self,
table_id: &str,
column_id: &str
) -> ColumnDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes the specified column.
Arguments
tableId
- Table from which the column is being deleted.columnId
- Name or identifier for the column being deleted.
pub fn get(&self, table_id: &str, column_id: &str) -> ColumnGetCall<'a, C, A>
[src]
pub fn get(&self, table_id: &str, column_id: &str) -> ColumnGetCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves a specific column by its ID.
Arguments
tableId
- Table to which the column belongs.columnId
- Name or identifier for the column that is being requested.
Trait Implementations
impl<'a, C, A> MethodsBuilder for ColumnMethods<'a, C, A>
[src]
impl<'a, C, A> MethodsBuilder for ColumnMethods<'a, C, A>
Auto Trait Implementations
impl<'a, C, A> !Send for ColumnMethods<'a, C, A>
impl<'a, C, A> !Send for ColumnMethods<'a, C, A>
impl<'a, C, A> !Sync for ColumnMethods<'a, C, A>
impl<'a, C, A> !Sync for ColumnMethods<'a, C, A>