pub struct ListServicesRequest<'a> {
pub created_after: Option<String>,
pub created_before: Option<String>,
pub cursor: Option<String>,
pub env: Option<String>,
pub limit: Option<i64>,
pub name: Option<String>,
pub owner_id: Option<String>,
pub region: Option<String>,
pub suspended: Option<String>,
pub type_: Option<String>,
pub updated_after: Option<String>,
pub updated_before: Option<String>,
/* private fields */
}
Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§created_after: Option<String>
§created_before: Option<String>
§cursor: Option<String>
§env: Option<String>
§limit: Option<i64>
§name: Option<String>
§owner_id: Option<String>
§region: Option<String>
§suspended: Option<String>
§type_: Option<String>
§updated_after: Option<String>
§updated_before: Option<String>
Implementations§
Source§impl<'a> ListServicesRequest<'a>
impl<'a> ListServicesRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<ServiceCursor>>
pub fn created_after(self, created_after: &str) -> Self
pub fn created_before(self, created_before: &str) -> Self
pub fn cursor(self, cursor: &str) -> Self
pub fn env(self, env: &str) -> Self
pub fn limit(self, limit: i64) -> Self
pub fn name(self, name: &str) -> Self
pub fn owner_id(self, owner_id: &str) -> Self
pub fn region(self, region: &str) -> Self
pub fn suspended(self, suspended: &str) -> Self
pub fn type_(self, type_: &str) -> Self
pub fn updated_after(self, updated_after: &str) -> Self
pub fn updated_before(self, updated_before: &str) -> Self
Trait Implementations§
Source§impl<'a> Clone for ListServicesRequest<'a>
impl<'a> Clone for ListServicesRequest<'a>
Source§fn clone(&self) -> ListServicesRequest<'a>
fn clone(&self) -> ListServicesRequest<'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> IntoFuture for ListServicesRequest<'a>
impl<'a> IntoFuture for ListServicesRequest<'a>
Source§type Output = Result<Vec<ServiceCursor>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<ServiceCursor>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ListServicesRequest<'a> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <ListServicesRequest<'a> as IntoFuture>::Output> + Send + 'a>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for ListServicesRequest<'a>
impl<'a> !RefUnwindSafe for ListServicesRequest<'a>
impl<'a> Send for ListServicesRequest<'a>
impl<'a> Sync for ListServicesRequest<'a>
impl<'a> Unpin for ListServicesRequest<'a>
impl<'a> !UnwindSafe for ListServicesRequest<'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
Mutably borrows from an owned value. Read more