pub struct AccessProposalRoleAndView {
pub role: Option<String>,
pub view: Option<String>,
}Expand description
A wrapper for the role and view of an access proposal. For more information, see Roles and permissions.
This type is not used in any activity, and only used as part of another schema.
Fields§
§role: Option<String>The role that was proposed by the requester. The supported values are: * writer * commenter * reader
view: Option<String>Indicates the view for this access proposal. Only populated for proposals that belong to a view. Only published is supported.
Trait Implementations§
Source§impl Clone for AccessProposalRoleAndView
impl Clone for AccessProposalRoleAndView
Source§fn clone(&self) -> AccessProposalRoleAndView
fn clone(&self) -> AccessProposalRoleAndView
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 AccessProposalRoleAndView
impl Debug for AccessProposalRoleAndView
Source§impl Default for AccessProposalRoleAndView
impl Default for AccessProposalRoleAndView
Source§fn default() -> AccessProposalRoleAndView
fn default() -> AccessProposalRoleAndView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessProposalRoleAndView
impl<'de> Deserialize<'de> for AccessProposalRoleAndView
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 Part for AccessProposalRoleAndView
Auto Trait Implementations§
impl Freeze for AccessProposalRoleAndView
impl RefUnwindSafe for AccessProposalRoleAndView
impl Send for AccessProposalRoleAndView
impl Sync for AccessProposalRoleAndView
impl Unpin for AccessProposalRoleAndView
impl UnwindSafe for AccessProposalRoleAndView
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