pub struct RequestBuilder<'a> { /* private fields */ }Expand description
Builder for Request.
Implementations§
Source§impl<'a> RequestBuilder<'a>
impl<'a> RequestBuilder<'a>
Sourcepub fn domain_id<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn domain_id<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
The ID of the domain.
Sourcepub fn enabled(&mut self, value: bool) -> &mut Self
pub fn enabled(&mut self, value: bool) -> &mut Self
Whether the identity provider is enabled or not
Sourcepub fn idp_id<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn idp_id<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Filters the response by an identity provider ID.
pub fn limit(&mut self, value: i32) -> &mut Self
Sourcepub fn marker<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn marker<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
ID of the last fetched entry
Sourcepub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
The resource name.
Sourcepub fn password_expires_at<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn password_expires_at<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
Filter results based on which user passwords have expired. The query
should include an operator and a timestamp with a colon (:) separating
the two, for example: password_expires_at={operator}:{timestamp}
Valid operators are: lt, lte, gt, gte, eq, and neq
- lt: expiration time lower than the timestamp
- lte: expiration time lower than or equal to the timestamp
- gt: expiration time higher than the timestamp
- gte: expiration time higher than or equal to the timestamp
- eq: expiration time equal to the timestamp
- neq: expiration time not equal to the timestamp
Valid timestamps are of the form: YYYY-MM-DDTHH:mm:ssZ.For
example:/v3/users?password_expires_at=lt:2016-12-08T22:02:00Z The
example would return a list of users whose password expired before the
timestamp (2016-12-08T22:02:00Z).
Sourcepub fn protocol_id<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn protocol_id<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
Filters the response by a protocol ID.
Sourcepub fn sort_dir<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn sort_dir<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Sort direction. A valid value is asc (ascending) or desc (descending).
Sourcepub fn sort_key<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn sort_key<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Sorts resources by attribute.
Source§impl RequestBuilder<'_>
impl RequestBuilder<'_>
Trait Implementations§
Source§impl<'a> Clone for RequestBuilder<'a>
impl<'a> Clone for RequestBuilder<'a>
Source§fn clone(&self) -> RequestBuilder<'a>
fn clone(&self) -> RequestBuilder<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for RequestBuilder<'a>
impl<'a> RefUnwindSafe for RequestBuilder<'a>
impl<'a> Send for RequestBuilder<'a>
impl<'a> Sync for RequestBuilder<'a>
impl<'a> Unpin for RequestBuilder<'a>
impl<'a> UnwindSafe for RequestBuilder<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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