pub struct CopyHistory {
pub attachment_id: Option<String>,
pub course_id: Option<String>,
pub item_id: Option<String>,
pub post_id: Option<String>,
}Expand description
Identifier of a previous copy of a given attachment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§attachment_id: Option<String>Immutable. Identifier of the attachment.
course_id: Option<String>Immutable. Identifier of the course.
item_id: Option<String>Immutable. Identifier of the Announcement, CourseWork, or CourseWorkMaterial under which the attachment is attached.
post_id: Option<String>Immutable. Deprecated, use item_id instead.
Trait Implementations§
Source§impl Clone for CopyHistory
impl Clone for CopyHistory
Source§fn clone(&self) -> CopyHistory
fn clone(&self) -> CopyHistory
Returns a duplicate 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 CopyHistory
impl Debug for CopyHistory
Source§impl Default for CopyHistory
impl Default for CopyHistory
Source§fn default() -> CopyHistory
fn default() -> CopyHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CopyHistory
impl<'de> Deserialize<'de> for CopyHistory
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 CopyHistory
impl Serialize for CopyHistory
impl Part for CopyHistory
Auto Trait Implementations§
impl Freeze for CopyHistory
impl RefUnwindSafe for CopyHistory
impl Send for CopyHistory
impl Sync for CopyHistory
impl Unpin for CopyHistory
impl UnwindSafe for CopyHistory
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