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]
impl Default for Attachment
fn default() -> Attachment
[src]
fn default() -> Attachment
Returns the "default value" for a type. Read more
impl Clone for Attachment
[src]
impl Clone for Attachment
fn clone(&self) -> Attachment
[src]
fn clone(&self) -> Attachment
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Attachment
[src]
impl Debug for Attachment
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 Part for Attachment
[src]
impl Part for Attachment
Auto Trait Implementations
impl Send for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Sync for Attachment