pub struct GitlabSettings {
pub url: Option<Url>,
pub token: Option<Box<str>>,
pub app_id: Option<Box<str>>,
pub app_secret: Option<Box<str>>,
pub redirect_url: Option<Box<str>>,
}
Fieldsยง
ยงurl: Option<Url>
ยงtoken: Option<Box<str>>
ยงapp_id: Option<Box<str>>
ยงapp_secret: Option<Box<str>>
ยงredirect_url: Option<Box<str>>
Trait Implementationsยง
Sourceยงimpl Add for GitlabSettings
impl Add for GitlabSettings
Sourceยงimpl AddAssign for GitlabSettings
impl AddAssign for GitlabSettings
Sourceยงfn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSourceยงimpl Clone for GitlabSettings
impl Clone for GitlabSettings
Sourceยงfn clone(&self) -> GitlabSettings
fn clone(&self) -> GitlabSettings
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for GitlabSettings
impl Debug for GitlabSettings
Sourceยงimpl Default for GitlabSettings
impl Default for GitlabSettings
Sourceยงfn default() -> GitlabSettings
fn default() -> GitlabSettings
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for GitlabSettings
impl<'de> Deserialize<'de> for GitlabSettings
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for GitlabSettings
impl RefUnwindSafe for GitlabSettings
impl Send for GitlabSettings
impl Sync for GitlabSettings
impl Unpin for GitlabSettings
impl UnwindSafe for GitlabSettings
Blanket Implementationsยง
ยงimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
ยงtype ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
ยงfn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงimpl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
ยงfn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Sourceยงimpl<T> Hexable for Twhere
T: Serialize + for<'de> Deserialize<'de>,
impl<T> Hexable for Twhere
T: Serialize + for<'de> Deserialize<'de>,
ยงimpl<T> Instrument for T
impl<T> Instrument for T
ยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
ยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more