Struct google_api_proto::google::apps::script::type::calendar::CalendarAddOnManifest
source · pub struct CalendarAddOnManifest {
pub homepage_trigger: Option<HomepageExtensionPoint>,
pub conference_solution: Vec<ConferenceSolution>,
pub create_settings_url_function: String,
pub event_open_trigger: Option<CalendarExtensionPoint>,
pub event_update_trigger: Option<CalendarExtensionPoint>,
pub current_event_access: i32,
}
Expand description
Calendar add-on manifest.
Fields§
§homepage_trigger: Option<HomepageExtensionPoint>
Defines an endpoint that will be executed contexts that don’t match a declared contextual trigger. 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.
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
conference_solution: Vec<ConferenceSolution>
Defines conference solutions provided by this add-on.
create_settings_url_function: String
An endpoint to execute that creates a URL to the add-on’s settings page.
event_open_trigger: Option<CalendarExtensionPoint>
An endpoint to trigger when an event is opened (viewed/edited).
event_update_trigger: Option<CalendarExtensionPoint>
An endpoint to trigger when the open event is updated.
current_event_access: i32
Define the level of data access when an event addon is triggered.
Implementations§
source§impl CalendarAddOnManifest
impl CalendarAddOnManifest
sourcepub fn current_event_access(&self) -> EventAccess
pub fn current_event_access(&self) -> EventAccess
Returns the enum value of current_event_access
, or the default if the field is set to an invalid enum value.
sourcepub fn set_current_event_access(&mut self, value: EventAccess)
pub fn set_current_event_access(&mut self, value: EventAccess)
Sets current_event_access
to the provided enum value.
Trait Implementations§
source§impl Clone for CalendarAddOnManifest
impl Clone for CalendarAddOnManifest
source§fn clone(&self) -> CalendarAddOnManifest
fn clone(&self) -> CalendarAddOnManifest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CalendarAddOnManifest
impl Debug for CalendarAddOnManifest
source§impl Default for CalendarAddOnManifest
impl Default for CalendarAddOnManifest
source§impl Message for CalendarAddOnManifest
impl Message for CalendarAddOnManifest
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 CalendarAddOnManifest
impl PartialEq for CalendarAddOnManifest
source§fn eq(&self, other: &CalendarAddOnManifest) -> bool
fn eq(&self, other: &CalendarAddOnManifest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CalendarAddOnManifest
Auto Trait Implementations§
impl Freeze for CalendarAddOnManifest
impl RefUnwindSafe for CalendarAddOnManifest
impl Send for CalendarAddOnManifest
impl Sync for CalendarAddOnManifest
impl Unpin for CalendarAddOnManifest
impl UnwindSafe for CalendarAddOnManifest
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