Enum Topic

Source
pub enum Topic {
Show 74 variants IdpIdentityUserCreated, IdpIdentityUserUpdated, IdpIdentityUserDeleted, IdpIdentityUserAuthenticated, IdpIdentityTenantCreated, IdpIdentityTenantUpdated, IdpIdentityTenantDeleted, DsPipelineJobRequested, DsPipelineJobStarted, DsPipelineJobCompleted, DsPipelineJobFailed, DsPipelineInjectionTaskRequested, DsPipelineInjectionTaskQueued, DsPipelineInjectionTaskStarted, DsPipelineInjectionTaskCompleted, DsPipelineInjectionTaskFailed, DsPipelineInjectionMetricCreated, DsPipelineTransformTaskRequested, DsPipelineTransformTaskQueued, DsPipelineTransformTaskStarted, DsPipelineTransformTaskCompleted, DsPipelineTransformTaskFailed, DsPipelineTransformMetricCreated, DsPipelineMigratorTaskRequested, DsPipelineMigratorTaskQueued, DsPipelineMigratorTaskStarted, DsPipelineMigratorTaskCompleted, DsPipelineMigratorTaskFailed, DsPipelineMigratorMetricCreated, DsPipelineSynchronizerJobRequested, DsPipelineSynchronizerJobQueued, DsPipelineSynchronizerJobStarted, DsPipelineSynchronizerJobCompleted, DsPipelineSynchronizerJobFailed, DsPipelineSynchronizerTaskRequested, DsPipelineSynchronizerTaskQueued, DsPipelineSynchronizerTaskStarted, DsPipelineSynchronizerTaskCompleted, DsPipelineSynchronizerTaskFailed, DsPipelineSynchronizerMetricCreated, DsPipelineCloneJobRequested, DsPipelineCloneJobQueued, DsPipelineCloneJobStarted, DsPipelineCloneJobCompleted, DsPipelineCloneJobFailed, DsPipelineCloneMetricCreated, DsPipelineCloneTaskRequested, DsPipelineCloneTaskQueued, DsPipelineCloneTaskStarted, DsPipelineCloneTaskCompleted, DsPipelineCloneTaskFailed, DsWorkflowPipelineJobRequested, DsWorkflowPipelineJobQueued, DsWorkflowPipelineJobStarted, DsWorkflowPipelineJobCompleted, DsWorkflowPipelineJobFailed, DsWorkflowPipelineTaskStarted, DsWorkflowPipelineTaskCompleted, DsWorkflowPipelineTaskFailed, DsWorkflowPipelineCreated, DsWorkflowPipelineUpdated, DsWorkflowPipelineDeleted, DsWorkflowDatasetCreated, DsWorkflowDatasetUpdated, DsWorkflowDatasetDeleted, DsWorkflowLinkedServiceCreated, DsWorkflowLinkedServiceUpdated, DsWorkflowLinkedServiceDeleted, DsCoreProvisionJobRequested, DsCoreProvisionJobCompleted, DsCoreProvisionJobFailed, DsCoreConfigInfoUpdated, DsCoreConfigStatusUpdated, DsCoreBillingUsageCreated,
}
Expand description

This enum contains all the topics for the DS Event Stream.

§Topics

  • IdpIdentityUserCreated - The event when an identity user is created.

  • IdpIdentityUserUpdated - The event when an identity user is updated.

  • IdpIdentityUserDeleted - The event when an identity user is deleted.

  • IdpIdentityUserAuthenticated - The event when an identity user is authenticated.

  • IdpIdentityTenantCreated - The event when an identity tenant is created.

  • IdpIdentityTenantUpdated - The event when an identity tenant is updated.

  • IdpIdentityTenantDeleted - The event when an identity tenant is deleted.

  • DsPipelineJobRequested - The event when a pipeline job is requested.

  • DsPipelineJobStarted - The event when a pipeline job is started.

  • DsPipelineJobCompleted - The event when a pipeline job is completed.

  • DsPipelineJobFailed - The event when a pipeline job is failed.

  • DsPipelineInjectionTaskRequested - The event when a pipeline injection task is requested.

  • DsPipelineInjectionTaskQueued - The event when a pipeline injection task is queued.

  • DsPipelineInjectionTaskStarted - The event when a pipeline injection task is started.

  • DsPipelineInjectionTaskCompleted - The event when a pipeline injection task is completed.

  • DsPipelineInjectionTaskFailed - The event when a pipeline injection task is failed.

  • DsPipelineInjectionMetricCreated - The event when a pipeline injection metric is created.

  • DsPipelineTransformTaskRequested - The event when a pipeline transform task is requested.

  • DsPipelineTransformTaskQueued - The event when a pipeline transform task is queued.

  • DsPipelineTransformTaskStarted - The event when a pipeline transform task is started.

  • DsPipelineTransformTaskCompleted - The event when a pipeline transform task is completed.

  • DsPipelineTransformTaskFailed - The event when a pipeline transform task is failed.

  • DsPipelineTransformMetricCreated - The event when a pipeline transform metric is created.

  • DsPipelineMigratorTaskRequested - The event when a pipeline migrator task is requested.

  • DsPipelineMigratorTaskQueued - The event when a pipeline migrator task is queued.

  • DsPipelineMigratorTaskStarted - The event when a pipeline migrator task is started.

  • DsPipelineMigratorTaskCompleted - The event when a pipeline migrator task is completed.

  • DsPipelineMigratorTaskFailed - The event when a pipeline migrator task is failed.

  • DsPipelineMigratorMetricCreated - The event when a pipeline migrator metric is created.

  • DsPipelineSynchronizerJobRequested - The event when a pipeline synchronizer job is requested.

  • DsPipelineSynchronizerJobQueued - The event when a pipeline synchronizer job is queued.

  • DsPipelineSynchronizerJobStarted - The event when a pipeline synchronizer job is started.

  • DsPipelineSynchronizerJobCompleted - The event when a pipeline synchronizer job is completed.

  • DsPipelineSynchronizerJobFailed - The event when a pipeline synchronizer job is failed.

  • DsPipelineSynchronizerTaskRequested - The event when a pipeline synchronizer task is requested.

  • DsPipelineSynchronizerTaskQueued - The event when a pipeline synchronizer task is queued.

  • DsPipelineSynchronizerTaskStarted - The event when a pipeline synchronizer task is started.

  • DsPipelineSynchronizerTaskCompleted - The event when a pipeline synchronizer task is completed.

  • DsPipelineSynchronizerTaskFailed - The event when a pipeline synchronizer task is failed.

  • DsPipelineSynchronizerMetricCreated - The event when a pipeline synchronizer metric is created.

  • DsPipelineCloneJobRequested - The event when a pipeline clone job is requested.

  • DsPipelineCloneJobQueued - The event when a pipeline clone job is queued.

  • DsPipelineCloneJobStarted - The event when a pipeline clone job is started.

  • DsPipelineCloneJobCompleted - The event when a pipeline clone job is completed.

  • DsPipelineCloneJobFailed - The event when a pipeline clone job is failed.

  • DsPipelineCloneMetricCreated - The event when a pipeline clone metric is created.

  • DsPipelineCloneTaskRequested - The event when a pipeline clone task is requested.

  • DsPipelineCloneTaskQueued - The event when a pipeline clone task is queued.

  • DsPipelineCloneTaskStarted - The event when a pipeline clone task is started.

  • DsPipelineCloneTaskCompleted - The event when a pipeline clone task is completed.

  • DsPipelineCloneTaskFailed - The event when a pipeline clone task is failed.

  • DsWorkflowPipelineJobRequested - The event when a workflow pipeline job is requested.

  • DsWorkflowPipelineJobQueued - The event when a workflow pipeline job is queued.

  • DsWorkflowPipelineJobStarted - The event when a workflow pipeline job is started.

  • DsWorkflowPipelineJobCompleted - The event when a workflow pipeline job is completed.

  • DsWorkflowPipelineJobFailed - The event when a workflow pipeline job is failed.

  • DsWorkflowPipelineTaskStarted - The event when a workflow pipeline task is started.

  • DsWorkflowPipelineTaskCompleted - The event when a workflow pipeline task is completed.

  • DsWorkflowPipelineTaskFailed - The event when a workflow pipeline task is failed.

  • DsWorkflowPipelineCreated - The event when a workflow pipeline is created.

  • DsWorkflowPipelineUpdated - The event when a workflow pipeline is updated.

  • DsWorkflowPipelineDeleted - The event when a workflow pipeline is deleted.

  • DsWorkflowDatasetCreated - The event when a workflow dataset is created.

  • DsWorkflowDatasetUpdated - The event when a workflow dataset is updated.

  • DsWorkflowDatasetDeleted - The event when a workflow dataset is deleted.

  • DsWorkflowLinkedServiceCreated - The event when a workflow linked service is created.

  • DsWorkflowLinkedServiceUpdated - The event when a workflow linked service is updated.

  • DsWorkflowLinkedServiceDeleted - The event when a workflow linked service is deleted.

  • DsCoreProvisionJobRequested - The event when a core provision job is requested.

  • DsCoreProvisionJobCompleted - The event when a core provision job is completed.

  • DsCoreProvisionJobFailed - The event when a core provision job is failed.

  • DsCoreConfigInfoUpdated - The event when a core config info is updated.

  • DsCoreConfigStatusUpdated - The event when a core config status is updated.

  • DsCoreBillingUsageCreated - The event when a core billing usage is created.

Variants§

§

IdpIdentityUserCreated

§

IdpIdentityUserUpdated

§

IdpIdentityUserDeleted

§

IdpIdentityUserAuthenticated

§

IdpIdentityTenantCreated

§

IdpIdentityTenantUpdated

§

IdpIdentityTenantDeleted

§

DsPipelineJobRequested

§

DsPipelineJobStarted

§

DsPipelineJobCompleted

§

DsPipelineJobFailed

§

DsPipelineInjectionTaskRequested

§

DsPipelineInjectionTaskQueued

§

DsPipelineInjectionTaskStarted

§

DsPipelineInjectionTaskCompleted

§

DsPipelineInjectionTaskFailed

§

DsPipelineInjectionMetricCreated

§

DsPipelineTransformTaskRequested

§

DsPipelineTransformTaskQueued

§

DsPipelineTransformTaskStarted

§

DsPipelineTransformTaskCompleted

§

DsPipelineTransformTaskFailed

§

DsPipelineTransformMetricCreated

§

DsPipelineMigratorTaskRequested

§

DsPipelineMigratorTaskQueued

§

DsPipelineMigratorTaskStarted

§

DsPipelineMigratorTaskCompleted

§

DsPipelineMigratorTaskFailed

§

DsPipelineMigratorMetricCreated

§

DsPipelineSynchronizerJobRequested

§

DsPipelineSynchronizerJobQueued

§

DsPipelineSynchronizerJobStarted

§

DsPipelineSynchronizerJobCompleted

§

DsPipelineSynchronizerJobFailed

§

DsPipelineSynchronizerTaskRequested

§

DsPipelineSynchronizerTaskQueued

§

DsPipelineSynchronizerTaskStarted

§

DsPipelineSynchronizerTaskCompleted

§

DsPipelineSynchronizerTaskFailed

§

DsPipelineSynchronizerMetricCreated

§

DsPipelineCloneJobRequested

§

DsPipelineCloneJobQueued

§

DsPipelineCloneJobStarted

§

DsPipelineCloneJobCompleted

§

DsPipelineCloneJobFailed

§

DsPipelineCloneMetricCreated

§

DsPipelineCloneTaskRequested

§

DsPipelineCloneTaskQueued

§

DsPipelineCloneTaskStarted

§

DsPipelineCloneTaskCompleted

§

DsPipelineCloneTaskFailed

§

DsWorkflowPipelineJobRequested

§

DsWorkflowPipelineJobQueued

§

DsWorkflowPipelineJobStarted

§

DsWorkflowPipelineJobCompleted

§

DsWorkflowPipelineJobFailed

§

DsWorkflowPipelineTaskStarted

§

DsWorkflowPipelineTaskCompleted

§

DsWorkflowPipelineTaskFailed

§

DsWorkflowPipelineCreated

§

DsWorkflowPipelineUpdated

§

DsWorkflowPipelineDeleted

§

DsWorkflowDatasetCreated

§

DsWorkflowDatasetUpdated

§

DsWorkflowDatasetDeleted

§

DsWorkflowLinkedServiceCreated

§

DsWorkflowLinkedServiceUpdated

§

DsWorkflowLinkedServiceDeleted

§

DsCoreProvisionJobRequested

§

DsCoreProvisionJobCompleted

§

DsCoreProvisionJobFailed

§

DsCoreConfigInfoUpdated

§

DsCoreConfigStatusUpdated

§

DsCoreBillingUsageCreated

Implementations§

Source§

impl Topic

Source

pub fn get_all_topics() -> Vec<Topic>

Get all the topics for the DS Event Stream.

§Returns

A vector of all topics for the DS Event Stream.

§Example
use ds_event_stream_rs_sdk::model::topics::Topic;
let topics = Topic::get_all_topics();
assert!(!topics.is_empty());
Source

pub fn filter_by_pattern(pattern: &str) -> Result<Vec<Topic>, UtilsError>

Filter topics by regex pattern.

§Arguments
  • pattern - A regex pattern to match against topic names
§Returns

A vector of topics that match the pattern

§Example
use ds_event_stream_rs_sdk::model::topics::Topic;
let pipeline_topics = Topic::filter_by_pattern(r"ds\.pipeline\.").unwrap();
assert!(!pipeline_topics.is_empty());

Trait Implementations§

Source§

impl AsRef<str> for Topic

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for Topic

Source§

fn clone(&self) -> Topic

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Topic

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Topic

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for Topic

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Topic, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Topic

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoEnumIterator for Topic

Source§

impl PartialEq for Topic

Source§

fn eq(&self, other: &Topic) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<&str> for Topic

Source§

type Error = ParseError

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

fn try_from(s: &str) -> Result<Topic, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for Topic

Source§

impl Eq for Topic

Source§

impl StructuralPartialEq for Topic

Auto Trait Implementations§

§

impl Freeze for Topic

§

impl RefUnwindSafe for Topic

§

impl Send for Topic

§

impl Sync for Topic

§

impl Unpin for Topic

§

impl UnwindSafe for Topic

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

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>,

Source§

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.
§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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