pub struct DataFlowBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> DataFlowBuilder<S>
impl<S: State> DataFlowBuilder<S>
Sourcepub fn build(self) -> DataFlowwhere
S: IsComplete,
pub fn build(self) -> DataFlowwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: impl Into<String>) -> DataFlowBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: impl Into<String>) -> DataFlowBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn state(self, value: DataFlowState) -> DataFlowBuilder<SetState<S>>where
S::State: IsUnset,
pub fn state(self, value: DataFlowState) -> DataFlowBuilder<SetState<S>>where
S::State: IsUnset,
Sourcepub fn maybe_state(
self,
value: Option<DataFlowState>,
) -> DataFlowBuilder<SetState<S>>where
S::State: IsUnset,
pub fn maybe_state(
self,
value: Option<DataFlowState>,
) -> DataFlowBuilder<SetState<S>>where
S::State: IsUnset,
Sourcepub fn profile(self, value: impl Into<String>) -> DataFlowBuilder<SetProfile<S>>where
S::Profile: IsUnset,
pub fn profile(self, value: impl Into<String>) -> DataFlowBuilder<SetProfile<S>>where
S::Profile: IsUnset,
Required.
Sourcepub fn kind(self, value: DataFlowType) -> DataFlowBuilder<SetKind<S>>where
S::Kind: IsUnset,
pub fn kind(self, value: DataFlowType) -> DataFlowBuilder<SetKind<S>>where
S::Kind: IsUnset,
Required.
Sourcepub fn agreement_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetAgreementId<S>>where
S::AgreementId: IsUnset,
pub fn agreement_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetAgreementId<S>>where
S::AgreementId: IsUnset,
Required.
Sourcepub fn dataset_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetDatasetId<S>>where
S::DatasetId: IsUnset,
pub fn dataset_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetDatasetId<S>>where
S::DatasetId: IsUnset,
Required.
Sourcepub fn dataspace_context(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetDataspaceContext<S>>where
S::DataspaceContext: IsUnset,
pub fn dataspace_context(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetDataspaceContext<S>>where
S::DataspaceContext: IsUnset,
Required.
Sourcepub fn participant_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetParticipantId<S>>where
S::ParticipantId: IsUnset,
pub fn participant_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetParticipantId<S>>where
S::ParticipantId: IsUnset,
Required.
Sourcepub fn counter_party_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetCounterPartyId<S>>where
S::CounterPartyId: IsUnset,
pub fn counter_party_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetCounterPartyId<S>>where
S::CounterPartyId: IsUnset,
Required.
Sourcepub fn control_plane_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetControlPlaneId<S>>where
S::ControlPlaneId: IsUnset,
pub fn control_plane_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetControlPlaneId<S>>where
S::ControlPlaneId: IsUnset,
Required.
Sourcepub fn participant_context_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetParticipantContextId<S>>where
S::ParticipantContextId: IsUnset,
pub fn participant_context_id(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetParticipantContextId<S>>where
S::ParticipantContextId: IsUnset,
Required.
Sourcepub fn suspension_reason(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetSuspensionReason<S>>where
S::SuspensionReason: IsUnset,
pub fn suspension_reason(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetSuspensionReason<S>>where
S::SuspensionReason: IsUnset,
Sourcepub fn maybe_suspension_reason(
self,
value: Option<impl Into<String>>,
) -> DataFlowBuilder<SetSuspensionReason<S>>where
S::SuspensionReason: IsUnset,
pub fn maybe_suspension_reason(
self,
value: Option<impl Into<String>>,
) -> DataFlowBuilder<SetSuspensionReason<S>>where
S::SuspensionReason: IsUnset,
Sourcepub fn termination_reason(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetTerminationReason<S>>where
S::TerminationReason: IsUnset,
pub fn termination_reason(
self,
value: impl Into<String>,
) -> DataFlowBuilder<SetTerminationReason<S>>where
S::TerminationReason: IsUnset,
Sourcepub fn maybe_termination_reason(
self,
value: Option<impl Into<String>>,
) -> DataFlowBuilder<SetTerminationReason<S>>where
S::TerminationReason: IsUnset,
pub fn maybe_termination_reason(
self,
value: Option<impl Into<String>>,
) -> DataFlowBuilder<SetTerminationReason<S>>where
S::TerminationReason: IsUnset,
Sourcepub fn labels(self, value: Vec<String>) -> DataFlowBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(self, value: Vec<String>) -> DataFlowBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Sourcepub fn maybe_labels(
self,
value: Option<Vec<String>>,
) -> DataFlowBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<Vec<String>>,
) -> DataFlowBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Sourcepub fn metadata(
self,
value: HashMap<String, Value>,
) -> DataFlowBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: HashMap<String, Value>,
) -> DataFlowBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
Sourcepub fn maybe_metadata(
self,
value: Option<HashMap<String, Value>>,
) -> DataFlowBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<HashMap<String, Value>>,
) -> DataFlowBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
Sourcepub fn claims(
self,
value: HashMap<String, Value>,
) -> DataFlowBuilder<SetClaims<S>>where
S::Claims: IsUnset,
pub fn claims(
self,
value: HashMap<String, Value>,
) -> DataFlowBuilder<SetClaims<S>>where
S::Claims: IsUnset,
Sourcepub fn maybe_claims(
self,
value: Option<HashMap<String, Value>>,
) -> DataFlowBuilder<SetClaims<S>>where
S::Claims: IsUnset,
pub fn maybe_claims(
self,
value: Option<HashMap<String, Value>>,
) -> DataFlowBuilder<SetClaims<S>>where
S::Claims: IsUnset,
Sourcepub fn data_address(
self,
value: impl Into<DataAddress>,
) -> DataFlowBuilder<SetDataAddress<S>>where
S::DataAddress: IsUnset,
pub fn data_address(
self,
value: impl Into<DataAddress>,
) -> DataFlowBuilder<SetDataAddress<S>>where
S::DataAddress: IsUnset,
Sourcepub fn maybe_data_address(
self,
value: Option<impl Into<DataAddress>>,
) -> DataFlowBuilder<SetDataAddress<S>>where
S::DataAddress: IsUnset,
pub fn maybe_data_address(
self,
value: Option<impl Into<DataAddress>>,
) -> DataFlowBuilder<SetDataAddress<S>>where
S::DataAddress: IsUnset,
Sourcepub fn created_at(
self,
value: DateTime<Utc>,
) -> DataFlowBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn created_at(
self,
value: DateTime<Utc>,
) -> DataFlowBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Sourcepub fn maybe_created_at(
self,
value: Option<DateTime<Utc>>,
) -> DataFlowBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn maybe_created_at(
self,
value: Option<DateTime<Utc>>,
) -> DataFlowBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Sourcepub fn updated_at(
self,
value: DateTime<Utc>,
) -> DataFlowBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
pub fn updated_at(
self,
value: DateTime<Utc>,
) -> DataFlowBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
Sourcepub fn maybe_updated_at(
self,
value: Option<DateTime<Utc>>,
) -> DataFlowBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
pub fn maybe_updated_at(
self,
value: Option<DateTime<Utc>>,
) -> DataFlowBuilder<SetUpdatedAt<S>>where
S::UpdatedAt: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DataFlowBuilder<S>
impl<S> RefUnwindSafe for DataFlowBuilder<S>
impl<S> Send for DataFlowBuilder<S>
impl<S> Sync for DataFlowBuilder<S>
impl<S> Unpin for DataFlowBuilder<S>
impl<S> UnsafeUnpin for DataFlowBuilder<S>
impl<S> UnwindSafe for DataFlowBuilder<S>
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