Struct google_classroom1::Registration [−][src]
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).
- delete registrations (none)
- create registrations (request|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 Default for Registration
[src]
impl Default for Registration
fn default() -> Registration
[src]
fn default() -> Registration
Returns the "default value" for a type. Read more
impl Clone for Registration
[src]
impl Clone for Registration
fn clone(&self) -> Registration
[src]
fn clone(&self) -> Registration
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Registration
[src]
impl Debug for Registration
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Registration
[src]
impl RequestValue for Registration
impl Resource for Registration
[src]
impl Resource for Registration
impl ResponseResult for Registration
[src]
impl ResponseResult for Registration
Auto Trait Implementations
impl Send for Registration
impl Send for Registration
impl Sync for Registration
impl Sync for Registration