Struct gitlab::api::projects::environments::Environments
source · pub struct Environments<'a> { /* private fields */ }
Expand description
Query for environments within a project.
Implementations§
source§impl<'a> Environments<'a>
impl<'a> Environments<'a>
sourcepub fn builder() -> EnvironmentsBuilder<'a>
pub fn builder() -> EnvironmentsBuilder<'a>
Create a builder for the endpoint.
Trait Implementations§
source§impl<'a> Clone for Environments<'a>
impl<'a> Clone for Environments<'a>
source§fn clone(&self) -> Environments<'a>
fn clone(&self) -> Environments<'a>
Returns a copy 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<'a> Debug for Environments<'a>
impl<'a> Debug for Environments<'a>
source§impl<'a> Endpoint for Environments<'a>
impl<'a> Endpoint for Environments<'a>
source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
source§impl<'a> Pageable for Environments<'a>
impl<'a> Pageable for Environments<'a>
source§fn use_keyset_pagination(&self) -> bool
fn use_keyset_pagination(&self) -> bool
Whether the endpoint uses keyset pagination or not.
Auto Trait Implementations§
impl<'a> Freeze for Environments<'a>
impl<'a> RefUnwindSafe for Environments<'a>
impl<'a> Send for Environments<'a>
impl<'a> Sync for Environments<'a>
impl<'a> Unpin for Environments<'a>
impl<'a> UnwindSafe for Environments<'a>
Blanket Implementations§
source§impl<E, T, C> AsyncQuery<T, C> for E
impl<E, T, C> AsyncQuery<T, C> for E
source§fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform the query asynchronously against the client.
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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