Struct gapi_grpc::google::apps::script::type::LayoutProperties[][src]

pub struct LayoutProperties {
    pub primary_color: String,
    pub secondary_color: String,
}

Card layout properties shared across all add-on host applications.

Fields

primary_color: String

The primary color of the add-on. It sets the color of toolbar. If no primary color is set explicitly, the default value provided by the framework is used.

secondary_color: String

The secondary color of the add-on. It sets the color of buttons. If primary color is set but no secondary color is set, the secondary color is the same as the primary color. If neither primary color nor secondary color is set, the default value provided by the framework is used.

Trait Implementations

impl Clone for LayoutProperties[src]

impl Debug for LayoutProperties[src]

impl Default for LayoutProperties[src]

impl Message for LayoutProperties[src]

impl PartialEq<LayoutProperties> for LayoutProperties[src]

impl StructuralPartialEq for LayoutProperties[src]

Auto Trait Implementations

impl RefUnwindSafe for LayoutProperties

impl Send for LayoutProperties

impl Sync for LayoutProperties

impl Unpin for LayoutProperties

impl UnwindSafe for LayoutProperties

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]