pub struct GroupClient { /* private fields */ }Expand description
Client for group-level GitLab API queries.
Implementations§
Source§impl GroupClient
impl GroupClient
Sourcepub fn from_group_url(url: &str) -> Result<Self, Box<dyn Error>>
pub fn from_group_url(url: &str) -> Result<Self, Box<dyn Error>>
Create a group client from a GitLab group URL.
Sourcepub fn new(
base_url: &str,
group_path: &str,
token: &str,
) -> Result<Self, Box<dyn Error>>
pub fn new( base_url: &str, group_path: &str, token: &str, ) -> Result<Self, Box<dyn Error>>
Create a group client with explicit parameters.
Auto Trait Implementations§
impl Freeze for GroupClient
impl !RefUnwindSafe for GroupClient
impl Send for GroupClient
impl Sync for GroupClient
impl Unpin for GroupClient
impl UnsafeUnpin for GroupClient
impl !UnwindSafe for GroupClient
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