Struct google_classroom1::Attachment [] [src]

pub struct Attachment {
    pub you_tube_video: Option<YouTubeVideo>,
    pub drive_file: Option<DriveFile>,
    pub link: Option<Link>,
    pub form: Option<Form>,
}

Attachment added to student assignment work.

When creating attachments, setting the form field is not supported.

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

Fields

Youtube video attachment.

Google Drive file attachment.

Link attachment.

Google Forms attachment.

Trait Implementations

impl Default for Attachment
[src]

Returns the "default value" for a type. Read more

impl Clone for Attachment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Attachment
[src]

Formats the value using the given formatter.

impl Part for Attachment
[src]