pub struct R3ClientGetJobsBuilder<__State: __R3ClientGetJobsBuilderState = (Optional<String>, Optional<i64>, Optional<Vec<String>>, Optional<Vec<JobStatusEnum>>)> { /* private fields */ }
Expand description

Use builder syntax to set the required parameters and finish by calling the method Self::call().

Implementations§

source§

impl<__State: __R3ClientGetJobsBuilderState> R3ClientGetJobsBuilder<__State>
where __State::OrgId: Into<Set<Option<String>>>, __State::Limit: Into<Set<Option<i64>>>, __State::JobIdFilter: Into<Set<Option<Vec<String>>>>, __State::StatusFilter: Into<Set<Option<Vec<JobStatusEnum>>>>,

source

pub fn call(self) -> Result<Response<ResponseData>, Box<dyn Error>>

Finishes building and performs the requested action.

source§

impl<__State: __R3ClientGetJobsBuilderState<OrgId = Optional<String>>> R3ClientGetJobsBuilder<__State>

source

pub fn maybe_org_id( self, value: Option<impl Into<String>>, ) -> __R3ClientGetJobsBuilderSetOrgId<__State>

Same as Self::org_id, but accepts an Option as input. See that method’s documentation for more details.

source

pub fn org_id( self, value: impl Into<String>, ) -> __R3ClientGetJobsBuilderSetOrgId<__State>

Optional organization ID for org context.

source§

impl<__State: __R3ClientGetJobsBuilderState<Limit = Optional<i64>>> R3ClientGetJobsBuilder<__State>

source

pub fn maybe_limit( self, value: Option<i64>, ) -> __R3ClientGetJobsBuilderSetLimit<__State>

Same as Self::limit, but accepts an Option as input. See that method’s documentation for more details.

source

pub fn limit(self, value: i64) -> __R3ClientGetJobsBuilderSetLimit<__State>

Optional limit how many results are returned. It is highly recommended to set a limit, because this query can take quite a while otherwise.

source§

impl<__State: __R3ClientGetJobsBuilderState<JobIdFilter = Optional<Vec<String>>>> R3ClientGetJobsBuilder<__State>

source

pub fn maybe_job_id_filter( self, value: Option<Vec<String>>, ) -> __R3ClientGetJobsBuilderSetJobIdFilter<__State>

Same as Self::job_id_filter, but accepts an Option as input. See that method’s documentation for more details.

source

pub fn job_id_filter( self, value: Vec<String>, ) -> __R3ClientGetJobsBuilderSetJobIdFilter<__State>

Optional list of job IDs to filter by.

source§

impl<__State: __R3ClientGetJobsBuilderState<StatusFilter = Optional<Vec<JobStatusEnum>>>> R3ClientGetJobsBuilder<__State>

source

pub fn maybe_status_filter( self, value: Option<Vec<JobStatusEnum>>, ) -> __R3ClientGetJobsBuilderSetStatusFilter<__State>

Same as Self::status_filter, but accepts an Option as input. See that method’s documentation for more details.

source

pub fn status_filter( self, value: Vec<JobStatusEnum>, ) -> __R3ClientGetJobsBuilderSetStatusFilter<__State>

Optional list of job statuses to filter by.

Auto Trait Implementations§

§

impl<__State> Freeze for R3ClientGetJobsBuilder<__State>
where <__State as __R3ClientGetJobsBuilderState>::OrgId: Freeze, <__State as __R3ClientGetJobsBuilderState>::Limit: Freeze, <__State as __R3ClientGetJobsBuilderState>::JobIdFilter: Freeze, <__State as __R3ClientGetJobsBuilderState>::StatusFilter: Freeze,

§

impl<__State> RefUnwindSafe for R3ClientGetJobsBuilder<__State>
where <__State as __R3ClientGetJobsBuilderState>::OrgId: RefUnwindSafe, <__State as __R3ClientGetJobsBuilderState>::Limit: RefUnwindSafe, <__State as __R3ClientGetJobsBuilderState>::JobIdFilter: RefUnwindSafe, <__State as __R3ClientGetJobsBuilderState>::StatusFilter: RefUnwindSafe, __State: RefUnwindSafe,

§

impl<__State> Send for R3ClientGetJobsBuilder<__State>
where <__State as __R3ClientGetJobsBuilderState>::OrgId: Send, <__State as __R3ClientGetJobsBuilderState>::Limit: Send, <__State as __R3ClientGetJobsBuilderState>::JobIdFilter: Send, <__State as __R3ClientGetJobsBuilderState>::StatusFilter: Send, __State: Send,

§

impl<__State> Sync for R3ClientGetJobsBuilder<__State>
where <__State as __R3ClientGetJobsBuilderState>::OrgId: Sync, <__State as __R3ClientGetJobsBuilderState>::Limit: Sync, <__State as __R3ClientGetJobsBuilderState>::JobIdFilter: Sync, <__State as __R3ClientGetJobsBuilderState>::StatusFilter: Sync, __State: Sync,

§

impl<__State> Unpin for R3ClientGetJobsBuilder<__State>
where <__State as __R3ClientGetJobsBuilderState>::OrgId: Unpin, <__State as __R3ClientGetJobsBuilderState>::Limit: Unpin, <__State as __R3ClientGetJobsBuilderState>::JobIdFilter: Unpin, <__State as __R3ClientGetJobsBuilderState>::StatusFilter: Unpin, __State: Unpin,

§

impl<__State> UnwindSafe for R3ClientGetJobsBuilder<__State>
where <__State as __R3ClientGetJobsBuilderState>::OrgId: UnwindSafe, <__State as __R3ClientGetJobsBuilderState>::Limit: UnwindSafe, <__State as __R3ClientGetJobsBuilderState>::JobIdFilter: UnwindSafe, <__State as __R3ClientGetJobsBuilderState>::StatusFilter: UnwindSafe, __State: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more