pub struct GroupOption {
pub access_level: Option<AccessLevel>,
pub group: Option<Group>,
}
Expand description
Group option to add a user to
Fields§
§access_level: Option<AccessLevel>
License assigned to a user
group: Option<Group>
Project Group (e.g. Contributor, Reader etc.)
Implementations§
source§impl GroupOption
impl GroupOption
Trait Implementations§
source§impl Clone for GroupOption
impl Clone for GroupOption
source§fn clone(&self) -> GroupOption
fn clone(&self) -> GroupOption
Returns a copy 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 GroupOption
impl Debug for GroupOption
source§impl Default for GroupOption
impl Default for GroupOption
source§fn default() -> GroupOption
fn default() -> GroupOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GroupOption
impl<'de> Deserialize<'de> for GroupOption
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 GroupOption
impl PartialEq for GroupOption
source§fn eq(&self, other: &GroupOption) -> bool
fn eq(&self, other: &GroupOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GroupOption
impl Serialize for GroupOption
impl StructuralPartialEq for GroupOption
Auto Trait Implementations§
impl Freeze for GroupOption
impl RefUnwindSafe for GroupOption
impl Send for GroupOption
impl Sync for GroupOption
impl Unpin for GroupOption
impl UnwindSafe for GroupOption
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