pub struct ContributorsClient { /* private fields */ }
Expand description
Contributors API 客户端
Implementations§
Source§impl ContributorsClient
impl ContributorsClient
Sourcepub async fn get_group_members_access_level(
&self,
group: String,
include_inherit: Option<bool>,
) -> Result<Value>
pub async fn get_group_members_access_level( &self, group: String, include_inherit: Option<bool>, ) -> Result<Value>
获取指定组织或仓库内, 访问成员在当前层级内的权限信息。Get permission information for accessing members at current level.
Sourcepub async fn get_repo_members_username_access_level(
&self,
repo: String,
username: String,
) -> Result<Value>
pub async fn get_repo_members_username_access_level( &self, repo: String, username: String, ) -> Result<Value>
获取指定组织或仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
Auto Trait Implementations§
impl Freeze for ContributorsClient
impl !RefUnwindSafe for ContributorsClient
impl Send for ContributorsClient
impl Sync for ContributorsClient
impl Unpin for ContributorsClient
impl !UnwindSafe for ContributorsClient
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