[−][src]Struct gitlab::GitlabBuilder
Implementations
impl GitlabBuilder
[src]
pub fn new<H, T>(host: H, token: T) -> Self where
H: Into<String>,
T: Into<String>,
[src]
H: Into<String>,
T: Into<String>,
Create a new Gitlab API client builder.
pub fn insecure(&mut self) -> &mut Self
[src]
Switch to an insecure protocol (http instead of https).
pub fn cert_insecure(&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]
Auto Trait Implementations
impl RefUnwindSafe for GitlabBuilder
[src]
impl Send for GitlabBuilder
[src]
impl Sync for GitlabBuilder
[src]
impl Unpin for GitlabBuilder
[src]
impl UnwindSafe for GitlabBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,