// This file was generated by code-gen. DO NOT EDIT MANUALLY!
///A wrapper for the role and view of an access proposal.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct AccessProposalRoleAndView {
#[serde(rename = "role")]
///The role that was proposed by the requester New values may be added in the future, but the following are currently possible: * `writer` * `commenter` * `reader`
pub role: ::alloc::string::String,
#[serde(rename = "view")]
///Indicates the view for this access proposal. Only populated for proposals that belong to a view. `published` is the only supported value.
pub view: ::alloc::string::String,
}
///A wrapper for the role and view of an access proposal.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct AccessProposalRoleAndViewPartial {
#[serde(rename = "role")]
#[serde(skip_serializing_if = "::core::option::Option::is_none")]
///The role that was proposed by the requester New values may be added in the future, but the following are currently possible: * `writer` * `commenter` * `reader`
pub role: ::core::option::Option<::alloc::string::String>,
#[serde(rename = "view")]
#[serde(skip_serializing_if = "::core::option::Option::is_none")]
///Indicates the view for this access proposal. Only populated for proposals that belong to a view. `published` is the only supported value.
pub view: ::core::option::Option<::alloc::string::String>,
}