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

pub struct CommonAddOnManifest {
    pub name: String,
    pub logo_url: String,
    pub layout_properties: Option<LayoutProperties>,
    pub add_on_widget_set: Option<AddOnWidgetSet>,
    pub use_locale_from_app: bool,
    pub homepage_trigger: Option<HomepageExtensionPoint>,
    pub universal_actions: Vec<UniversalActionExtensionPoint>,
    pub open_link_url_prefixes: Option<ListValue>,
}

Add-on configuration that is shared across all add-on host applications.

Fields

name: String

Required. The display name of the add-on.

logo_url: String

Required. The URL for the logo image shown in the add-on toolbar.

layout_properties: Option<LayoutProperties>

Common layout properties for the add-on cards.

add_on_widget_set: Option<AddOnWidgetSet>

The widgets used in the add-on. If this field is not specified, it indicates that default set is used.

use_locale_from_app: bool

Whether to pass locale information from host app.

homepage_trigger: Option<HomepageExtensionPoint>

Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.

universal_actions: Vec<UniversalActionExtensionPoint>

Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.

open_link_url_prefixes: Option<ListValue>

An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also match one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.

Trait Implementations

impl Clone for CommonAddOnManifest[src]

impl Debug for CommonAddOnManifest[src]

impl Default for CommonAddOnManifest[src]

impl Message for CommonAddOnManifest[src]

impl PartialEq<CommonAddOnManifest> for CommonAddOnManifest[src]

impl StructuralPartialEq for CommonAddOnManifest[src]

Auto Trait Implementations

impl RefUnwindSafe for CommonAddOnManifest

impl Send for CommonAddOnManifest

impl Sync for CommonAddOnManifest

impl Unpin for CommonAddOnManifest

impl UnwindSafe for CommonAddOnManifest

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]