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
you_tube_video: Option<YouTubeVideo>
Youtube video attachment.
drive_file: Option<DriveFile>
Google Drive file attachment.
link: Option<Link>
Link attachment.
form: Option<Form>
Google Forms attachment.
Trait Implementations
impl Default for Attachment
[src]
fn default() -> Attachment
Returns the "default value" for a type. Read more
impl Clone for Attachment
[src]
fn clone(&self) -> Attachment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more