Struct google_calendar3::api::Channel[][src]

pub struct Channel {
    pub address: Option<String>,
    pub expiration: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub params: Option<HashMap<String, String>>,
    pub payload: Option<bool>,
    pub resource_id: Option<String>,
    pub resource_uri: Option<String>,
    pub token: Option<String>,
    pub type_: Option<String>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

address: Option<String>

The address where notifications are delivered for this channel.

expiration: Option<String>

Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.

id: Option<String>

A UUID or similar unique string that identifies this channel.

kind: Option<String>

Identifies this as a notification channel used to watch for changes to a resource, which is “api#channel”.

params: Option<HashMap<String, String>>

Additional parameters controlling delivery channel behavior. Optional.

payload: Option<bool>

A Boolean value to indicate whether payload is wanted. Optional.

resource_id: Option<String>

An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.

resource_uri: Option<String>

A version-specific identifier for the watched resource.

token: Option<String>

An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

type_: Option<String>

The type of delivery mechanism used for this channel. Valid values are “web_hook” (or “webhook”). Both values refer to a channel where Http requests are used to deliver messages.

Trait Implementations

impl Clone for Channel[src]

impl Debug for Channel[src]

impl Default for Channel[src]

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

impl RequestValue for Channel[src]

impl Resource for Channel[src]

impl ResponseResult for Channel[src]

impl Serialize for Channel[src]

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument 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 = 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.