gapirs-drive-v3 0.0.1

Rust library for Google API drive v0.0.1
Documentation
// This file was generated by code-gen. DO NOT EDIT MANUALLY! 

///The Access Proposal resource for outstanding access proposals on a file
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct AccessProposal {
    #[serde(rename = "createTime")]
    ///The creation time
    pub create_time: ::alloc::string::String,
    #[serde(rename = "fileId")]
    ///The file id that the proposal for access is on
    pub file_id: ::alloc::string::String,
    #[serde(rename = "proposalId")]
    ///The id of the access proposal
    pub proposal_id: ::alloc::string::String,
    #[serde(rename = "recipientEmailAddress")]
    ///The email address of the user that will receive permissions if accepted
    pub recipient_email_address: ::alloc::string::String,
    #[serde(rename = "requestMessage")]
    ///The message that the requester added to the proposal
    pub request_message: ::alloc::string::String,
    #[serde(rename = "requesterEmailAddress")]
    ///The email address of the requesting user
    pub requester_email_address: ::alloc::string::String,
    #[serde(rename = "rolesAndViews")]
    ///A wrapper for the role and view of an access proposal.
    pub roles_and_views: ::alloc::vec::Vec<
        crate::discovery::schemas::access_proposal_role_and_view::AccessProposalRoleAndView,
    >,
}
///The Access Proposal resource for outstanding access proposals on a file
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct AccessProposalPartial {
    #[serde(rename = "createTime")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The creation time
    pub create_time: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "fileId")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The file id that the proposal for access is on
    pub file_id: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "proposalId")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The id of the access proposal
    pub proposal_id: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "recipientEmailAddress")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The email address of the user that will receive permissions if accepted
    pub recipient_email_address: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "requestMessage")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The message that the requester added to the proposal
    pub request_message: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "requesterEmailAddress")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The email address of the requesting user
    pub requester_email_address: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "rolesAndViews")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///A wrapper for the role and view of an access proposal.
    pub roles_and_views: ::core::option::Option<
        ::alloc::vec::Vec<
            crate::discovery::schemas::access_proposal_role_and_view::AccessProposalRoleAndViewPartial,
        >,
    >,
}