pub struct SessionsListBuilder<'f1, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, S: State> SessionsListBuilder<'f1, S>
impl<'f1, S: State> SessionsListBuilder<'f1, S>
Sourcepub async fn call(self) -> Result<PaginatedSessions, Error<SessionsListError>>where
S: IsComplete,
pub async fn call(self) -> Result<PaginatedSessions, Error<SessionsListError>>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn configuration(
self,
value: &'f1 Configuration,
) -> SessionsListBuilder<'f1, SetConfiguration<S>>where
S::Configuration: IsUnset,
pub fn configuration(
self,
value: &'f1 Configuration,
) -> SessionsListBuilder<'f1, SetConfiguration<S>>where
S::Configuration: IsUnset,
Required.
Sourcepub fn page(self, value: i32) -> SessionsListBuilder<'f1, SetPage<S>>where
S::Page: IsUnset,
pub fn page(self, value: i32) -> SessionsListBuilder<'f1, SetPage<S>>where
S::Page: IsUnset,
Sourcepub fn maybe_page(
self,
value: Option<i32>,
) -> SessionsListBuilder<'f1, SetPage<S>>where
S::Page: IsUnset,
pub fn maybe_page(
self,
value: Option<i32>,
) -> SessionsListBuilder<'f1, SetPage<S>>where
S::Page: IsUnset,
Sourcepub fn limit(self, value: i32) -> SessionsListBuilder<'f1, SetLimit<S>>where
S::Limit: IsUnset,
pub fn limit(self, value: i32) -> SessionsListBuilder<'f1, SetLimit<S>>where
S::Limit: IsUnset,
Sourcepub fn maybe_limit(
self,
value: Option<i32>,
) -> SessionsListBuilder<'f1, SetLimit<S>>where
S::Limit: IsUnset,
pub fn maybe_limit(
self,
value: Option<i32>,
) -> SessionsListBuilder<'f1, SetLimit<S>>where
S::Limit: IsUnset,
Sourcepub fn from_timestamp(
self,
value: String,
) -> SessionsListBuilder<'f1, SetFromTimestamp<S>>where
S::FromTimestamp: IsUnset,
pub fn from_timestamp(
self,
value: String,
) -> SessionsListBuilder<'f1, SetFromTimestamp<S>>where
S::FromTimestamp: IsUnset,
Sourcepub fn maybe_from_timestamp(
self,
value: Option<String>,
) -> SessionsListBuilder<'f1, SetFromTimestamp<S>>where
S::FromTimestamp: IsUnset,
pub fn maybe_from_timestamp(
self,
value: Option<String>,
) -> SessionsListBuilder<'f1, SetFromTimestamp<S>>where
S::FromTimestamp: IsUnset,
Sourcepub fn to_timestamp(
self,
value: String,
) -> SessionsListBuilder<'f1, SetToTimestamp<S>>where
S::ToTimestamp: IsUnset,
pub fn to_timestamp(
self,
value: String,
) -> SessionsListBuilder<'f1, SetToTimestamp<S>>where
S::ToTimestamp: IsUnset,
Sourcepub fn maybe_to_timestamp(
self,
value: Option<String>,
) -> SessionsListBuilder<'f1, SetToTimestamp<S>>where
S::ToTimestamp: IsUnset,
pub fn maybe_to_timestamp(
self,
value: Option<String>,
) -> SessionsListBuilder<'f1, SetToTimestamp<S>>where
S::ToTimestamp: IsUnset,
Sourcepub fn environment(
self,
value: Vec<String>,
) -> SessionsListBuilder<'f1, SetEnvironment<S>>where
S::Environment: IsUnset,
pub fn environment(
self,
value: Vec<String>,
) -> SessionsListBuilder<'f1, SetEnvironment<S>>where
S::Environment: IsUnset,
Sourcepub fn maybe_environment(
self,
value: Option<Vec<String>>,
) -> SessionsListBuilder<'f1, SetEnvironment<S>>where
S::Environment: IsUnset,
pub fn maybe_environment(
self,
value: Option<Vec<String>>,
) -> SessionsListBuilder<'f1, SetEnvironment<S>>where
S::Environment: IsUnset,
Auto Trait Implementations§
impl<'f1, S> Freeze for SessionsListBuilder<'f1, S>
impl<'f1, S = Empty> !RefUnwindSafe for SessionsListBuilder<'f1, S>
impl<'f1, S> Send for SessionsListBuilder<'f1, S>
impl<'f1, S> Sync for SessionsListBuilder<'f1, S>
impl<'f1, S> Unpin for SessionsListBuilder<'f1, S>
impl<'f1, S = Empty> !UnwindSafe for SessionsListBuilder<'f1, S>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more