pub struct Gitlab { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Backend for Gitlab
impl Backend for Gitlab
fn get_file<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
token: &'life1 str,
crate_path: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(String, String, String), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_file<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
token: &'life1 str,
crate_path: &'life2 str,
branch_name: &'life3 str,
initial_version: &'life4 PublishedVersion,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn update_file<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
token: &'life1 str,
crate_path: &'life2 str,
branch_name: &'life3 str,
versions: &'life4 [PublishedVersion],
_current_sha: &'life5 str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
fn delete_branch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
token: &'life1 str,
branch_name: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_pull_request<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
token: &'life1 str,
title: &'life2 str,
branch_name: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn merge_pull_request<'life0, 'life1, 'async_trait>(
&'life0 self,
token: &'life1 str,
id: u64,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_pull_request<'life0, 'life1, 'async_trait>(
&'life0 self,
_token: &'life1 str,
_id: u64,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for Gitlab
impl RefUnwindSafe for Gitlab
impl Send for Gitlab
impl Sync for Gitlab
impl Unpin for Gitlab
impl UnsafeUnpin for Gitlab
impl UnwindSafe for Gitlab
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