pub struct AssignmentInfo {
pub drive_resource_info: Option<DriveResourceInfo>,
pub link_to_task: Option<String>,
pub space_info: Option<SpaceInfo>,
pub surface_type: Option<String>,
}Expand description
Information about the source of the task assignment (Document, Chat Space).
This type is not used in any activity, and only used as part of another schema.
Fields§
§drive_resource_info: Option<DriveResourceInfo>Output only. Information about the Drive file where this task originates from. Currently, the Drive file can only be a document. This field is read-only.
link_to_task: Option<String>Output only. An absolute link to the original task in the surface of assignment (Docs, Chat spaces, etc.).
space_info: Option<SpaceInfo>Output only. Information about the Chat Space where this task originates from. This field is read-only.
surface_type: Option<String>Output only. The type of surface this assigned task originates from. Currently limited to DOCUMENT or SPACE.
Trait Implementations§
Source§impl Clone for AssignmentInfo
impl Clone for AssignmentInfo
Source§fn clone(&self) -> AssignmentInfo
fn clone(&self) -> AssignmentInfo
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 AssignmentInfo
impl Debug for AssignmentInfo
Source§impl Default for AssignmentInfo
impl Default for AssignmentInfo
Source§fn default() -> AssignmentInfo
fn default() -> AssignmentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssignmentInfo
impl<'de> Deserialize<'de> for AssignmentInfo
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 AssignmentInfo
impl Serialize for AssignmentInfo
impl Part for AssignmentInfo
Auto Trait Implementations§
impl Freeze for AssignmentInfo
impl RefUnwindSafe for AssignmentInfo
impl Send for AssignmentInfo
impl Sync for AssignmentInfo
impl Unpin for AssignmentInfo
impl UnwindSafe for AssignmentInfo
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