pub struct Approval {
pub approval_id: Option<String>,
pub complete_time: Option<DateTime<Utc>>,
pub create_time: Option<DateTime<Utc>>,
pub due_time: Option<DateTime<Utc>>,
pub initiator: Option<User>,
pub kind: Option<String>,
pub modify_time: Option<DateTime<Utc>>,
pub reviewer_responses: Option<Vec<ReviewerResponse>>,
pub status: Option<String>,
pub target_file_id: Option<String>,
}Expand description
Metadata for an approval. An approval is a review/approve process for a Drive item.
§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).
- get approvals (response)
- list approvals (none)
Fields§
§approval_id: Option<String>The Approval ID.
complete_time: Option<DateTime<Utc>>Output only. The time time the approval was completed.
create_time: Option<DateTime<Utc>>Output only. The time the approval was created.
due_time: Option<DateTime<Utc>>The time that the approval is due.
initiator: Option<User>The user that requested the Approval.
kind: Option<String>This is always drive#approval.
modify_time: Option<DateTime<Utc>>Output only. The most recent time the approval was modified.
reviewer_responses: Option<Vec<ReviewerResponse>>The responses made on the Approval by reviewers.
status: Option<String>Output only. The status of the approval at the time this resource was requested.
target_file_id: Option<String>Target file id of the approval.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Approval
impl<'de> Deserialize<'de> for Approval
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 Resource for Approval
impl ResponseResult for Approval
Auto Trait Implementations§
impl Freeze for Approval
impl RefUnwindSafe for Approval
impl Send for Approval
impl Sync for Approval
impl Unpin for Approval
impl UnwindSafe for Approval
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