Struct google_api_proto::google::apps::script::type::CommonAddOnManifest
source · 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 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§
source§impl Clone for CommonAddOnManifest
impl Clone for CommonAddOnManifest
source§fn clone(&self) -> CommonAddOnManifest
fn clone(&self) -> CommonAddOnManifest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CommonAddOnManifest
impl Debug for CommonAddOnManifest
source§impl Default for CommonAddOnManifest
impl Default for CommonAddOnManifest
source§impl Message for CommonAddOnManifest
impl Message for CommonAddOnManifest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for CommonAddOnManifest
impl PartialEq for CommonAddOnManifest
source§fn eq(&self, other: &CommonAddOnManifest) -> bool
fn eq(&self, other: &CommonAddOnManifest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CommonAddOnManifest
Auto Trait Implementations§
impl Freeze for CommonAddOnManifest
impl RefUnwindSafe for CommonAddOnManifest
impl Send for CommonAddOnManifest
impl Sync for CommonAddOnManifest
impl Unpin for CommonAddOnManifest
impl UnwindSafe for CommonAddOnManifest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request