pub struct NewParseRole {
pub name: String,
pub acl: ParseACL,
}
Expand description
Represents the data required to create a new Parse Role.
Fields§
§name: String
The name for the new role. Must be unique and is required.
acl: ParseACL
The Access Control List for the new role. Required.
Trait Implementations§
Source§impl Clone for NewParseRole
impl Clone for NewParseRole
Source§fn clone(&self) -> NewParseRole
fn clone(&self) -> NewParseRole
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 NewParseRole
impl Debug for NewParseRole
Source§impl<'de> Deserialize<'de> for NewParseRole
impl<'de> Deserialize<'de> for NewParseRole
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 PartialEq for NewParseRole
impl PartialEq for NewParseRole
Source§impl Serialize for NewParseRole
impl Serialize for NewParseRole
impl StructuralPartialEq for NewParseRole
Auto Trait Implementations§
impl Freeze for NewParseRole
impl RefUnwindSafe for NewParseRole
impl Send for NewParseRole
impl Sync for NewParseRole
impl Unpin for NewParseRole
impl UnwindSafe for NewParseRole
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