Struct google_classroom1::api::CourseMaterial
source · pub struct CourseMaterial {
pub drive_file: Option<DriveFile>,
pub form: Option<Form>,
pub link: Option<Link>,
pub you_tube_video: Option<YouTubeVideo>,
}
Expand description
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§
§drive_file: Option<DriveFile>
Google Drive file attachment.
form: Option<Form>
Google Forms attachment.
link: Option<Link>
Link atatchment.
you_tube_video: Option<YouTubeVideo>
Youtube video attachment.
Trait Implementations§
source§impl Clone for CourseMaterial
impl Clone for CourseMaterial
source§fn clone(&self) -> CourseMaterial
fn clone(&self) -> CourseMaterial
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CourseMaterial
impl Debug for CourseMaterial
source§impl Default for CourseMaterial
impl Default for CourseMaterial
source§fn default() -> CourseMaterial
fn default() -> CourseMaterial
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CourseMaterial
impl<'de> Deserialize<'de> for CourseMaterial
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for CourseMaterial
impl Serialize for CourseMaterial
impl Part for CourseMaterial
Auto Trait Implementations§
impl RefUnwindSafe for CourseMaterial
impl Send for CourseMaterial
impl Sync for CourseMaterial
impl Unpin for CourseMaterial
impl UnwindSafe for CourseMaterial
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more