[][src]Struct google_fusiontables2::Template

pub struct Template {
    pub body: Option<String>,
    pub kind: Option<String>,
    pub table_id: Option<String>,
    pub name: Option<String>,
    pub template_id: Option<i32>,
    pub automatic_column_names: Option<Vec<String>>,
}

Represents the contents of InfoWindow templates.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

body: Option<String>

Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified.

kind: Option<String>

The kind of item this is. For a template, this is always fusiontables#template.

table_id: Option<String>

Identifier for the table for which the template is defined.

name: Option<String>

Optional name assigned to a template.

template_id: Option<i32>

Identifier for the template, unique within the context of a particular table.

automatic_column_names: Option<Vec<String>>

List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified.

Trait Implementations

impl Clone for Template[src]

impl Debug for Template[src]

impl Default for Template[src]

impl<'de> Deserialize<'de> for Template[src]

impl RequestValue for Template[src]

impl ResponseResult for Template[src]

impl Serialize for Template[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any