pub struct Group {Show 13 fields
pub id: GroupId,
pub name: String,
pub path: String,
pub description: Option<String>,
pub visibility: VisibilityLevel,
pub lfs_enabled: bool,
pub avatar_url: Option<String>,
pub web_url: String,
pub request_access_enabled: bool,
pub full_name: String,
pub full_path: String,
pub parent_id: Option<GroupId>,
pub statistics: Option<GroupStatistics>,
}Expand description
Group information.
Fields§
§id: GroupIdThe ID of the group.
name: StringThe name of the group.
path: StringThe path to the group.
description: Option<String>The description of the group.
visibility: VisibilityLevelWhether the project is public, internal, or private.
lfs_enabled: boolWhether LFS is enabled for the group.
avatar_url: Option<String>The URL to the group avatar.
web_url: StringThe URL to the group’s profile page.
request_access_enabled: boolWhether membership requests are allowed for the group.
full_name: String§full_path: String§parent_id: Option<GroupId>§statistics: Option<GroupStatistics>Statistics about the group.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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 From<GroupDetail> for Group
impl From<GroupDetail> for Group
source§fn from(detail: GroupDetail) -> Self
fn from(detail: GroupDetail) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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