pub struct Builder<T>(/* private fields */);
Expand description
A builder for IngestJob
Implementations§
Source§impl Builder<IngestJobRidStage>
impl Builder<IngestJobRidStage>
Sourcepub fn ingest_job_rid(
self,
ingest_job_rid: IngestJobRid,
) -> Builder<StatusStage>
pub fn ingest_job_rid( self, ingest_job_rid: IngestJobRid, ) -> Builder<StatusStage>
Sets the ingest_job_rid
field.
Source§impl Builder<StatusStage>
impl Builder<StatusStage>
Sourcepub fn status(self, status: IngestJobStatus) -> Builder<IngestJobRequestStage>
pub fn status(self, status: IngestJobStatus) -> Builder<IngestJobRequestStage>
Sets the status
field.
Source§impl Builder<IngestJobRequestStage>
impl Builder<IngestJobRequestStage>
Sourcepub fn ingest_job_request(
self,
ingest_job_request: IngestJobRequest,
) -> Builder<CreatedByStage>
pub fn ingest_job_request( self, ingest_job_request: IngestJobRequest, ) -> Builder<CreatedByStage>
Sets the ingest_job_request
field.
Source§impl Builder<CreatedByStage>
impl Builder<CreatedByStage>
Sourcepub fn created_by(self, created_by: Uuid) -> Builder<OrgUuidStage>
pub fn created_by(self, created_by: Uuid) -> Builder<OrgUuidStage>
Sets the created_by
field.
Source§impl Builder<OrgUuidStage>
impl Builder<OrgUuidStage>
Sourcepub fn org_uuid(self, org_uuid: Uuid) -> Builder<IngestTypeStage>
pub fn org_uuid(self, org_uuid: Uuid) -> Builder<IngestTypeStage>
Sets the org_uuid
field.
Source§impl Builder<IngestTypeStage>
impl Builder<IngestTypeStage>
Sourcepub fn ingest_type(self, ingest_type: IngestType) -> Builder<Complete>
pub fn ingest_type(self, ingest_type: IngestType) -> Builder<Complete>
Sets the ingest_type
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn ingest_job_rid(self, ingest_job_rid: IngestJobRid) -> Self
pub fn ingest_job_rid(self, ingest_job_rid: IngestJobRid) -> Self
Sets the ingest_job_rid
field.
Sourcepub fn status(self, status: IngestJobStatus) -> Self
pub fn status(self, status: IngestJobStatus) -> Self
Sets the status
field.
Sourcepub fn ingest_job_request(self, ingest_job_request: IngestJobRequest) -> Self
pub fn ingest_job_request(self, ingest_job_request: IngestJobRequest) -> Self
Sets the ingest_job_request
field.
Sourcepub fn origin_files(self, origin_files: impl Into<Option<Vec<String>>>) -> Self
pub fn origin_files(self, origin_files: impl Into<Option<Vec<String>>>) -> Self
Sets the origin_files
field.
Sourcepub fn created_by(self, created_by: Uuid) -> Self
pub fn created_by(self, created_by: Uuid) -> Self
Sets the created_by
field.
Sourcepub fn ingest_type(self, ingest_type: IngestType) -> Self
pub fn ingest_type(self, ingest_type: IngestType) -> Self
Sets the ingest_type
field.
Trait Implementations§
Source§impl Default for Builder<IngestJobRidStage>
impl Default for Builder<IngestJobRidStage>
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request