pub struct AccessProposal {
pub create_time: Option<DateTime<Utc>>,
pub file_id: Option<String>,
pub proposal_id: Option<String>,
pub recipient_email_address: Option<String>,
pub request_message: Option<String>,
pub requester_email_address: Option<String>,
pub roles_and_views: Option<Vec<AccessProposalRoleAndView>>,
}Expand description
Manage outstanding access proposals on a file.
§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 accessproposals (response)
Fields§
§create_time: Option<DateTime<Utc>>The creation time.
file_id: Option<String>The file ID that the proposal for access is on.
proposal_id: Option<String>The ID of the access proposal.
recipient_email_address: Option<String>The email address of the user that will receive permissions, if accepted.
request_message: Option<String>The message that the requester added to the proposal.
requester_email_address: Option<String>The email address of the requesting user.
roles_and_views: Option<Vec<AccessProposalRoleAndView>>A wrapper for the role and view of an access proposal. For more information, see Roles and permissions.
Trait Implementations§
Source§impl Clone for AccessProposal
impl Clone for AccessProposal
Source§fn clone(&self) -> AccessProposal
fn clone(&self) -> AccessProposal
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 AccessProposal
impl Debug for AccessProposal
Source§impl Default for AccessProposal
impl Default for AccessProposal
Source§fn default() -> AccessProposal
fn default() -> AccessProposal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessProposal
impl<'de> Deserialize<'de> for AccessProposal
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 AccessProposal
impl Serialize for AccessProposal
impl Resource for AccessProposal
impl ResponseResult for AccessProposal
Auto Trait Implementations§
impl Freeze for AccessProposal
impl RefUnwindSafe for AccessProposal
impl Send for AccessProposal
impl Sync for AccessProposal
impl Unpin for AccessProposal
impl UnwindSafe for AccessProposal
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