Struct gitlab::GitlabBuilder [−][src]
pub struct GitlabBuilder { /* fields omitted */ }
Implementations
impl GitlabBuilder
[src]
impl GitlabBuilder
[src]pub fn new<H, T>(host: H, token: T) -> Self where
H: Into<String>,
T: Into<String>,
[src]
pub fn new<H, T>(host: H, token: T) -> Self where
H: Into<String>,
T: Into<String>,
[src]Create a new Gitlab API client builder.
pub fn cert_insecure(&mut self) -> &mut Self
[src]
pub fn oauth2_token(&mut self) -> &mut Self
[src]
pub fn oauth2_token(&mut self) -> &mut Self
[src]Switch to using an OAuth2 token instead of a personal access token
pub fn build(&self) -> Result<Gitlab, GitlabError>
[src]
pub async fn build_async(&self) -> Result<AsyncGitlab, GitlabError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for GitlabBuilder
impl Send for GitlabBuilder
impl Sync for GitlabBuilder
impl Unpin for GitlabBuilder
impl UnwindSafe for GitlabBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,