Struct googapis::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>,
}
Expand description

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](/gmail/add-ons/concepts/manifests#whitelisting_urls) 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more