[][src]Struct google_calendar3::EventGadget

pub struct EventGadget {
    pub preferences: Option<HashMap<String, String>>,
    pub title: Option<String>,
    pub height: Option<i32>,
    pub width: Option<i32>,
    pub link: Option<String>,
    pub type_: Option<String>,
    pub display: Option<String>,
    pub icon_link: Option<String>,
}

A gadget that extends this event.

This type is not used in any activity, and only used as part of another schema.

Fields

preferences: Option<HashMap<String, String>>

Preferences.

title: Option<String>

The gadget's title.

height: Option<i32>

The gadget's height in pixels. The height must be an integer greater than 0. Optional.

width: Option<i32>

The gadget's width in pixels. The width must be an integer greater than 0. Optional.

link: Option<String>

The gadget's URL. The URL scheme must be HTTPS.

type_: Option<String>

The gadget's type.

display: Option<String>

The gadget's display mode. Optional. Possible values are:

  • "icon" - The gadget displays next to the event's title in the calendar view.
  • "chip" - The gadget displays when the event is clicked.
icon_link: Option<String>

The gadget's icon URL. The URL scheme must be HTTPS.

Trait Implementations

impl Part for EventGadget[src]

impl NestedType for EventGadget[src]

impl Clone for EventGadget[src]

impl Default for EventGadget[src]

impl Debug for EventGadget[src]

impl Serialize for EventGadget[src]

impl<'de> Deserialize<'de> for EventGadget[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]