[][src]Struct google_classroom1::Registration

pub struct Registration {
    pub feed: Option<Feed>,
    pub registration_id: Option<String>,
    pub expiry_time: Option<String>,
    pub cloud_pubsub_topic: Option<CloudPubsubTopic>,
}

An instruction to Classroom to send notifications from the feed to the provided destination.

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

feed: Option<Feed>

Specification for the class of notifications that Classroom should deliver to the destination.

registration_id: Option<String>

A server-generated unique identifier for this Registration.

Read-only.

expiry_time: Option<String>

The time until which the Registration is effective.

This is a read-only field assigned by the server.

cloud_pubsub_topic: Option<CloudPubsubTopic>

The Cloud Pub/Sub topic that notifications are to be sent to.

Trait Implementations

impl Resource for Registration[src]

impl ResponseResult for Registration[src]

impl RequestValue for Registration[src]

impl Clone for Registration[src]

impl Default for Registration[src]

impl Debug for Registration[src]

impl Serialize for Registration[src]

impl<'de> Deserialize<'de> for Registration[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]