Struct google_classroom1::Material
[−]
[src]
pub struct Material { pub youtube_video: Option<YouTubeVideo>, pub drive_file: Option<SharedDriveFile>, pub link: Option<Link>, pub form: Option<Form>, }
Material attached to course work. When creating attachments, only the Link field may be specified.
This type is not used in any activity, and only used as part of another schema.
Fields
youtube_video: Option<YouTubeVideo>
YouTube video material.
drive_file: Option<SharedDriveFile>
Google Drive file material.
link: Option<Link>
Link material.
form: Option<Form>
Google Forms material.
Trait Implementations
impl Debug for Material
[src]
impl Clone for Material
[src]
fn clone(&self) -> Material
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