Struct google_classroom1::CourseMaterial
[−]
[src]
pub struct CourseMaterial { pub you_tube_video: Option<YouTubeVideo>, pub drive_file: Option<DriveFile>, pub link: Option<Link>, pub form: Option<Form>, }
A material attached to a course as part of a material set.
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 atatchment.
form: Option<Form>
Google Forms attachment.
Trait Implementations
impl Default for CourseMaterial
[src]
fn default() -> CourseMaterial
[src]
Returns the "default value" for a type. Read more
impl Clone for CourseMaterial
[src]
fn clone(&self) -> CourseMaterial
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more