Struct google_classroom1::api::Topic
source · pub struct Topic {
pub course_id: Option<String>,
pub name: Option<String>,
pub topic_id: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
Topic created by a teacher for the course
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- topics create courses (request|response)
- topics get courses (response)
- topics patch courses (request|response)
Fields§
§course_id: Option<String>
Identifier of the course. Read-only.
name: Option<String>
The name of the topic, generated by the user. Leading and trailing whitespaces, if any, are trimmed. Also, multiple consecutive whitespaces are collapsed into one inside the name. The result must be a non-empty string. Topic names are case sensitive, and must be no longer than 100 characters.
topic_id: Option<String>
Unique identifier for the topic. Read-only.
update_time: Option<DateTime<Utc>>
The time the topic was last updated by the system. Read-only.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Topic
impl<'de> Deserialize<'de> for Topic
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
impl RequestValue for Topic
impl ResponseResult for Topic
Auto Trait Implementations§
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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